Error uploading a PAR file
Hello,
an upload of a new PARFile ends with the foll. error.
Anybody seen before?
com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.updateObject(ApplicationRepositoryService.java:717)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.storeApplication(ApplicationRepositoryService.java:389)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:306)
... 34 more
Caused by: com.sap.sql.log.OpenSQLException: Cannot assign a java.io.ByteArrayInputStream object of length 0 to host variable 18.
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
at com.sap.sql.jdbc.common.CommonPreparedStatement.setBinaryStream(CommonPreparedStatement.java:838)
at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.setBinaryStream(PreparedStatementWrapper.java:401)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.storeAttribute(AttributeHeadersTable.java:431)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.insert(AttributeHeadersTable.java:248)
at com.sapportals.portal.pcd.pl.PlObject.save(PlObject.java:541)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:616)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:640)
... 54 more
Hi Nicolas,
In you development server,
1. Create a new iview (With new from PAR file option). The iView wizard gives you the option to choose the PAR file available on your development portal.
2. Now create a Transport Package. Navigate to System Administration - Transport - Export.
Navigate to your Transport Folder in PCD.
Now Create a new Transport Package and add the iView to the package (iView created earlier from PAR file).
3. Now go to Transport Package properties and Make sure, you are changing the property id prefix to * .
This will include every object associated with the iView while manually exporting.
4. Now click on the EXPORT button. This will export the required PAR file with. This in turn create an EPA file. save it to your desktop.
5. Now in Quality server,
Do the manual Import.
Navigate to System Administration - Transport - Import.
Browse the EPA file on your desktop and say IMPORT.
This way, you will be able to get your PAR file as well as your required portal object (here the iView) in quality server.
Hope this helps,
Cheers!!!!!
Biroj...
Points for useful answer will be appreciated.
Edited by: Biroj Patro on May 12, 2009 8:40 PM
Similar Messages
-
Error while uploading a PAR file
Hi All,
I'm having an error when i try to upload a PAR file from Portal>Java Development>Development
The strange is that i am having the error in QA environment, in development environment i can upload it without any problem, and also it is not the first time that I upload a PAR to QA.
I hope someone can help me, i really don't know what to do...
Regards,
Nicolás.-
Here is the error:
May 8, 2009 11:46:34 AM # Client_Thread_17 Fatal Application upload failed: InvoiceTool.par
com.sapportals.portal.prt.runtime.PortalException: archive: InvoiceTool.par
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:309)
at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:700)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:396)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:285)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:115)
at java.lang.reflect.Method.invoke(Native Method)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:250)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:351)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:628)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:555)
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:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:672)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:314)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
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)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:121)
at com.sapportals.portal.prt.deployment.ArchiveIntrospector.getDeploymentDescriptor(ArchiveIntrospector.java:54)
at com.sapportals.portal.prt.deployment.DeploymentManager.getDeploymentDescriptor(DeploymentManager.java:942)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:273)
at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:700)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:396)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:285)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:115)
at java.lang.reflect.Method.invoke(Native Method)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:250)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:351)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:628)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:555)
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:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:672)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:314)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
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)Hi Nicolas,
In you development server,
1. Create a new iview (With new from PAR file option). The iView wizard gives you the option to choose the PAR file available on your development portal.
2. Now create a Transport Package. Navigate to System Administration - Transport - Export.
Navigate to your Transport Folder in PCD.
Now Create a new Transport Package and add the iView to the package (iView created earlier from PAR file).
3. Now go to Transport Package properties and Make sure, you are changing the property id prefix to * .
This will include every object associated with the iView while manually exporting.
4. Now click on the EXPORT button. This will export the required PAR file with. This in turn create an EPA file. save it to your desktop.
5. Now in Quality server,
Do the manual Import.
Navigate to System Administration - Transport - Import.
Browse the EPA file on your desktop and say IMPORT.
This way, you will be able to get your PAR file as well as your required portal object (here the iView) in quality server.
Hope this helps,
Cheers!!!!!
Biroj...
Points for useful answer will be appreciated.
Edited by: Biroj Patro on May 12, 2009 8:40 PM -
Error while uploading the PAR file of Production to UAT-
Hi Experts,
Could you please help me out in resolving the error which i'm facing while uploading the PAR file.
1. I have downloaded the par file from the production, imported to my NWDS.
2. Made changes to my HeadiView.jsp
3. I want to test my implementation in UAT.So i have uploaded the PAR to UAT system.
4. Below is the error i'm getting from the Log trace.
#1.#D27E2000F002008200000020000BD0FE0004436CD4EBF6C2#1200034614604#com.sap.porta
l.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#BVISHALA#17971##adcapsap18.
uk_QP0_16441150#BVISHALA#5d8f9460c01111dcafa2d27e2000f002#Thread[PRT-Async 2,5,P
RT-Async]##0#0#Error##Java###06:56_11/01/08_16441150
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in in
it method
Component : com.tw.navigation.Masthead.HeaderiView
at com.sapportals.portal.prt.component.PortalComponentContext.init(Porta
lComponentContext.java:251)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refr
esh(PortalComponentContextItem.java:271)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getC
ontext(PortalComponentContextItem.java:316)
at com.sapportals.portal.prt.component.PortalComponentRequest.getCompone
ntContext(PortalComponentRequest.java:387)
at com.sapportals.portal.pb.PageBuilder.createIviewProfile(PageBuilder.j
ava:443)
at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:391
at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.j
ava:233)
at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:6
36)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEve
nt(AbstractPortalComponent.java:388)
at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:816
at com.sapportals.portal.prt.component.CachablePortalComponent.handleEve
nt(CachablePortalComponent.java:703)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode
.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.j
ava:368)
at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.
java:340)
at com.sapportals.portal.navigation.PortalLauncher.doOnNodeReady(PortalL
auncher.java:318)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEve
nt(AbstractPortalComponent.java:388)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode
.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.j
ava:368)
at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.
java:340)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(P
ortalRequestManager.java:642)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(
ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatc
her.java:524)
at java.security.AccessController.doPrivileged(AccessController.java:242
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.ja
va:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.se
rvice(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcher
Impl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcher
Impl.forward(RequestDispatcherImpl.java:377)
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServle
t(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleReq
uest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServle
t(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServle
t(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebCo
ntainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(Requ
estAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:9
5)
at com.sap.engine.services.httpserver.server.Processor.request(Processor
.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSes
sionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRu
nner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:3
7)
at java.security.AccessController.doPrivileged(AccessController.java:215
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.ja
va:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:1
70)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationExc
eption: Could not instantiate implementation class com.btexx.pct.easyWCM.navigat
ion.masthead.HeaderiView of Portal Component com.tw.navigation.Masthead.HeaderiV
iew because: Could not find implementation class
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getIn
stanceInternal(PortalComponentItemFacade.java:242)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getCo
mponentInstance(PortalComponentItemFacade.java:160)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponen
tInstance(PortalComponentItem.java:732)
at com.sapportals.portal.prt.component.PortalComponentContext.getCompone
nt(PortalComponentContext.java:103)
at com.sapportals.portal.prt.component.PortalComponentContext.init(Porta
lComponentContext.java:242)
... 44 more
Caused by: java.lang.ClassNotFoundException: com.btexx.pct.easyWCM.navigation.ma
sthead.HeaderiView
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:152)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getIn
stanceInternal(PortalComponentItemFacade.java:228)
... 48 more
Kindly help me to resolve this issue.
Many Thanks,
B.Vishali.Hi,
The problem might be caused by the version inconsistency of your J2EE and Portal Platform.
Please check the version of your J2EE and Portal.
Best Regards,
Assaf -
Issue while uploading the PAR file thru system admin- AdministrationConsole
Hi All,
I have downloaded the PAR file "com.sap.portal.navigation.lightdetailednavigationtree.par.bak" from system admin->support->Portal Runtime ->browse deployment->Web-Inf->deployment->PCD.
after downloaded to the desktop for manual change in one of the JSP file rather than importing into NWDS. I have removed the bak from the file and added the .Zip to the file and i extracted the file.
here inside i got the three folders i.e WEB-INF,PORTAL-INF and file_list. now i went to jsp file called "LightDetailedNavigationTree.JSP" , changed one small property value in the code from false to true. after that i again zip the folders strcuture make the file name as original in the form of .PAR file. now i am trying to upload it in the portal thru system admin->portal runtime->administration console, but i am getting the deployment error as mentioned in the below.
even though with error, the wrong version of the par file with extension .err was saved in the PCD folder strcture, and original file also still exists. now i wanted to remove the wrong version of the file from PCD, what is the procedure to delete the wrong version, here in administration console i found one button clean , but i could not able to locate the wrong file version , only original right version showing up in the clean dropdown??
Can u tell me what is the procedure to edit the PAR file manually after downloaded to the desktop, rather than going edit thru NWDS??
if we need to upload the PAR file after changes, do we need to delete the original PAR file before we upload the new version of the same PAR or it will be automatically overwrite the original file with the same name??
Still i am getting confusion, please let me know how to edit the PAR file manally and how to upload the PAR file with out any isse while uploading it in the portal thru system admin->administration console??
Any pointers in this regard would be the great help to me??
Error as i got while uploading the par file after the changes manually. (com.sap.portal.navigation.lightdetailednavigationtree.par)
2011-01-24_07-40-18
Application upload failed: com.sap.portal.navigation.lightdetailednavigationtree.par
java.util.zip.ZipException: Error opening zip file /usr/sap/BIS/DVEBMGS13/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/deployment/pcd/com.sap.portal.navigation.lightdetailednavigationtree.par
* at java.util.zip.ZipFile.open(Native Method)*
* at java.util.zip.ZipFile.<init>(ZipFile.java:140)*
* at java.util.zip.ZipFile.<init>(ZipFile.java:155)*
* at com.sapportals.portal.prt.deployment.ArchiveIterator.iterate(ArchiveIterator.java:39)*
* at com.sapportals.portal.prt.deployment.UploadProcess.upload(UploadProcess.java:60)*
* at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:835)*
* at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:474)*
* at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:319)*
* at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:116)*
* at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
* at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)*
* at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)*
* at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)*
* at java.lang.reflect.Method.invoke(Method.java:391)*
* at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:706)*
* at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)*
* at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:249)*
* at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)*
* at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)*
* at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)*
* at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)*
* at java.security.AccessController.doPrivileged(AccessController.java:246)*
* at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)*
* 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:219)*
* at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)*
* at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)*
Can you please what are the steps if any specific while editing the PAR file manually and uploading it with out any issues??
Thanks in advance.
Regards,
PortalUser
Edited by: PortalUser100 on Jan 24, 2011 6:01 PM
Edited by: PortalUser100 on Jan 24, 2011 6:04 PM
Edited by: PortalUser100 on Jan 24, 2011 6:05 PMHi Shusil,
Thanks for your reply.
I have one more dought here.
the PAR file of lightdetailnavigation has been modified thru NWDS and deployed the PAR file by adding the required JARS.
Now my question is, the application server which i am used as local portal server installed in my desktop.
now this depoyed latest par file i have picked it from the workspace in the local desktop, and i am planning to upload the same PAR file in of the sandbox portal system of client , will it update successfully in the new portal apart from the deployed portal??
i am here used the path system admin->support->portal runtime -> administrate console ( this in the sand box system to upload the par file which was deployed in the local portal server in my desktop.
Thanks,
Portal user -
Getting error while uploading the PAR file into SAPEP
I have created one .PAR file in SAPEP6.0 SP2 and i deployed it is working fine but if i deploy the same PAR file into SAPEP6.0 SP13 it is generating error
Deployment failed - exception caught: Application upload failed: ConnectorService.par - more detail at: C:\usr\sap\E13\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\ConnectorService.par.log
and in log file it is generating as
Application upload failed: ConnectorService.par
com.sapportals.portal.prt.runtime.PortalException: [ApplicationRepositoryService.putArchive] archive: ConnectorService.par
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:328)
at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:813)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:474)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:319)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:116)
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.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
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:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
Caused by: com.sapportals.portal.pcd.pl.PlRuntimeException: unexpected SQLException
Cannot assign a zero-length byte array to host variable 18.
at com.sapportals.portal.pcd.pl.PlFactory.handleUnexpectedSQLError(PlFactory.java:2490)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:652)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChildOnPersistence(XfsContext.java:1360)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChildAndNotify(XfsContext.java:1118)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChild(XfsContext.java:1076)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createSubcontext(XfsContext.java:846)
at com.sapportals.portal.pcd.gl.xfs.BasicContext.createBasicSubcontext(BasicContext.java:185)
at com.sapportals.portal.pcd.gl.PcdPersContext.createSubcontext(PcdPersContext.java:188)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterCreateSubcontext(PcdFilterContext.java:244)
at com.sapportals.portal.pcd.gl.PcdProxyContext.createSubcontext(PcdProxyContext.java:133)
at com.sapportals.portal.pcd.gl.PcdGlContext.createSubcontext(PcdGlContext.java:500)
at com.sapportals.portal.pcd.gl.PcdGlContext.bind(PcdGlContext.java:425)
at com.sapportals.portal.pcd.gl.PcdProxyContext.bind(PcdProxyContext.java:426)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebindInt(PcdProxyContext.java:446)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:460)
at com.sapportals.portal.pcd.gl.PcdGlContext.rebind(PcdGlContext.java:1317)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:501)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:663)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:668)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.updateObject(ApplicationRepositoryService.java:717)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.storeApplication(ApplicationRepositoryService.java:389)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:306)
... 34 more
Caused by: com.sap.sql.log.OpenSQLException: Cannot assign a zero-length byte array to host variable 18.
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
at com.sap.sql.jdbc.common.dispatch.BlobHostVariable.setBinaryStream(BlobHostVariable.java:143)
at com.sap.sql.jdbc.common.CommonPreparedStatement.setBinaryStream(CommonPreparedStatement.java:776)
at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.setBinaryStream(PreparedStatementWrapper.java:401)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.storeAttribute(AttributeHeadersTable.java:431)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.insert(AttributeHeadersTable.java:248)
at com.sapportals.portal.pcd.pl.PlObject.save(PlObject.java:541)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:616)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:640)Hi,
The problem might be caused by the version inconsistency of your J2EE and Portal Platform.
Please check the version of your J2EE and Portal.
Best Regards,
Assaf -
Error while deploying PAR files for JSPDynPage & HTMLB
Hi,
I am facing following error while exporting the PAR file.
PAR upload failed:
*Please make sure the server ***** is running. HTTPS protocol is not supported, please ensure this server is not using HTTPS.*
I checked with the server. It is running fine.
Please help..
Regards,
Nirajhi niraj,
Login into portal System Administration->support->portal runtime->Browse Deployment
select web-inf (Browse)-deployment(Browse) check you par file...
Other way around...
go to portal content -> create iveiw ->using Par (not using template)->select ur par file....and done..
Regards
parth -
Problem during uploading of .par file in Portal
Hi,
I am downloading a properly working .par file from portal in my local system. But whenever I am uploading the same par file back into the portal through NWDS, the .par file is not running properly and its Giving error.
Here is the error:
"Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.tmobile.compSumm.CompSumm of Portal Component com.tmobile.CompSumm.CompSumm because: Could not find implementation class "
Any Idea what is the problem?????Hi,
I have unzipped the .jar file from the .par file. Then I imported the .par file into NWDS. After that I have added the extacted .jar file as external jar into the project(Proerties->Java Build Path->Libraries->Add External Jars). After that I had uploaded the project into the portal.
But still its showing the same error:
"Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.ibm.test of Portal Component testing.test because: Could not find implementation class"
Any solution.....
Message was edited by: Debasish Sarkar -
Error while importing PAR file from local system.
Hi Experts,
While importing PAR file into my NWDS, I am encountered by some strange error.
Please refer below screenshot for your reference.
After clicking on "OK" button of the above error popup, another popup emerge with different error, please find below the screenshot for this error.
Please let me know the reason and resolution of this error. It will be very helpful for me.
Thanks in advance.
Thanks and Regards,
sarvesh AgarwalHi ,
Are u trying to import with .bak extension ? If so please rename the file and remove .bak extension and try.
x.par is enough to import not x.par.bak.
Thanks, -
Error while deploying .par file through system admin
I have tried to modify logon.par file but when I was try deploy that file again through system admin then I got this error...................
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
com.sapportals.portal.ume.component.logon.SAPMLogonComponent.
Exception id: 10:19_11/05/07_0006_13454550
See the details for the exception ID in the log file
Please help me out I am using sneak preview 7.0
Detailed Error Log & Trace
=========================================================
Exception ID:08:55_11/05/07_0002_13454550
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in init method
Component : com.sap.portal.support.browse.default
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
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:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
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:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.ume.component.logon.SAPMLogonComponent of Portal Component com.sap.portal.support.browse.default because: Could not find implementation class
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:242)
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.ClassNotFoundException: com.sapportals.portal.ume.component.logon.SAPMLogonComponent
Found in negative cache
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@3389d1]
Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@1b7a6fa]
References:
not registered!
No resources !
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:360)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
... 30 moreHi,
Open ur PAR file then double click on PORTAL-INF -> lib->Select 2 jar files
1.com.sap.portal.runtime.logon_api.jar
2.umelogonbase.jar
Copy those jar file & paste in to lib in ur application.
Regards,
Senthil kumar K. -
Error while exporting PAR file
Hi,
I am getting an error "Build of project failed" while exporting a PAR file to the project folder and it is showing that "The project was not built due to classpath errors (incomplete or involved in cycle)." I am very new to this technology, so please help me in this.Check if the required JAR files under /dist/lib or /dist/private/lib are added in the project structure.
Refer http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d58bb490-0201-0010-64a1-9e5165e5dbac?QuickLink=index&overridelayout=true
~ Dhanz -
Error after importing PAR file into NWDS
Hi Experts,
I have imported a par file into my NWDS worlspace . While building the project it's giving the following error .
import javax.servlet.http.HttpServletResponse can't be resolved .
While i am organizing the importa , the same import is getting deleted and i am getting a new error as follows .
The project was not built since its classpath is incomplete. Cannot find the class file for javax.servlet.http.HttpServletRequest. Fix the classpath then try rebuilding this project.
jdk1.5 has been configured correctly inside NWDS and i have tested it also .
Can anybody help me out regarding this .
Thanks in advance .Hi Jain,
Just right click on project to properties->java build path-> add external jars add the jar file servlet.jar.
Venkat. -
Error in Importing PAR file in NDWS
HI Gurus,
I am trying to import a PAR file in NWDS, but it is showing an error. below is the screenshot
after pressing ok below is the screenshot for error
here the project is being created but the coding part is not coming.
help me.Hello,
First Check Error Long. That path is alredy given by Govardan.
at the same time. please reffer these 2 threads
http://scn.sap.com/thread/2024115 and http://scn.sap.com/thread/2069456 -
Portal runtime error-std. masthead par file
Hi,
If i am executing the components of Portalapp.xml file in the std. masthead par file,i am getting the following error.
Can any body give some suggestion to rectifying this error.
<b>Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
com.sapportals.portal.navigation.HeaderiView.
Exception id: 04:43_05/12/07_0010_4968150</b>
Regards,
Ravi.hi,
Thanks for your valuable suggestion.
Where can i get the particular jar file <b>"com.sap.portal.navigation.masthead_core.jar"</b>,if you have that jar file,
kindly send to me.
Mail id:[email protected]
Thanks in advance,
Regards,
Ravi. -
Error uploading Document: "This file is empty" when it's not.
Hi all!
We're using an on-prem SP2013 farm.
We've recently received reports of an error received when trying to upload a document to a library. Specifically the error reads:
"This file is empty and needs content to be uploaded"
This occurs most often when using Chrome and the drag/drop feature to upload the doc.
However, the file is not empty, and if the user tries again a few minutes later, or manually uploads the doc, it works fine.
Any suggestions on how to resolve this as it's starting to really irritate our users?
Thanks!Hi,
According to your description, my understanding is that the error occurred when you uploaded documents to SharePoint using drag/drop feature in chrome.
Per my knowledge, we can upload office documents such as word, excel which are empty to SharePoint. But if we upload empty txt files to SharePoint, the error will occur.
Did you try to upload txt files to SharePoint?
Before you upload the files, I recommend to check the size of the files.
I also recommend to check the ULS log located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS to see if anything unexpected occurred.
Best regards.
Victoria
Victoria Xia
TechNet Community Support -
I'm trying to upload a PDF file (file type BIN) in SAP using the method cl_gui_frontend_services=>gui_upload.
This method in turn calls the routine GUI_BIN_UPLOAD in program LSFESF03 which then in turn calls the routine "virus_scan".
At the end the GUI_UPLOAD method comes back with SY-SUBRC = 7 (UNKNOWN_ERROR). SY-MSGID = VSCAN and SY-MSGNO = 036.
This leads me to believe that SAP is expecting that you've properly set up the virus scan profile in the IMG. Do you know if setting up Virus scan profile will resove this problem?
Have anyone come acros this issue?
Please advise how I can resolve this issue!!!!
We're using NW 2004S, ECC 6.0 , Basis 7.00Dear anilkumar86
Do you get any error/dump ?
Can you share with us a little bit of your code ?
Do you see anything strange when debugging ?
Is this a standard or custom application ?
Is the PDF a normal one or encrypted ?
Please provide more info so that we can better help you.
Kind Regards
/Ricardo Quintas
Maybe you are looking for
-
Deactivate the double click/ hot spot for a particular row in alv grid.
Hello, As per a certain condition how to deactivate the double click/ hot spot for a particular row in alv grid. Regards, Saroj
-
I forgot my iPod pass code how do I change it using my iPad
I forgot my iPod pass code how do I change it without my PC since it broke
-
Transitions not working, help needed
Hi, I updated to Snow Leopard and iLife 11 yesterday, my transitions on iMovie11 don't seem to be working, when I add them to the project they come up as a grey symbol with two small boxes overlapping each other. Anyone know what this is and how to f
-
hello everyone, my acer am3400-u2505 shows no signal to the monitor. any suggestions?
-
HOW TO SEND XML BACK TO PRINT? (See Inside thread for more info)
Hello Everybody, Because there is not a lot of documentation on if_fp and if_fp_pdf_object I found out that i can retrive my PDF from the ADS with the following code: data: lo_fp TYPE REF TO if_fp , lo_pdfobj