Skip to Content
author's profile photo Former Member
Former Member

500 - internal server error in KM repository

Hi all,

I get the following error while trying to access any file I upload in /documents/.

<b>500

Internal server error -- contact system administrator.</b>

I am able to upload and view files in repositories other than \documents and its subfolders.

Any idea regarding the issue or any issues similar to this ?

Regards,

Shankar

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 15, 2006 at 04:53 AM

    HI Shankar

    I got the same problem ans I resolve the issue as follows

    1. You need to go server E:\usr\EPP\JC01\J2ee\Configtool

    2. Run the configtool.bat

    3.Go to Cluster data -->Instance_IDXXXXXXX --> Server _IDXXXXXX

    4. Need to add the following perameters

    Djava.io.tmpdir = e:\EP_TEMP

    Dcm.tmpdir=e:\EP_TEMP

    5. Restart the j2ee server

    6. Now you upload the files.

    hope this will be helpful.

    Thanks

    Ramana

    Add a comment
    10|10000 characters needed characters exceeded

    • > HI Shankar

      I have try this solution but, i couldnt solve problem. My stack trace a bit difference above then.

      <b> at com.sapportals.wcm.repository.manager.cm.persistence.DBContentInputStream.getInternalStream(DBContentInputStream.java:345)

      at com.sapportals.wcm.repository.manager.cm.persistence.DBContentInputStream.<init>(DBContentInputStream.java:50)

      at com.sapportals.wcm.repository.manager.cm.persistence.BasicPersistenceDB.selectDocumentContent(BasicPersistenceDB.java:1632)

      at com.sapportals.wcm.repository.manager.cm.persistence.commonjdbc.DBContent.getInputStream(DBContent.java:143)

      at com.sapportals.wcm.repository.manager.cm.persistence.commonjdbc.DBContent.getInputStream(DBContent.java:95)

      at com.sapportals.wcm.repository.ContentImpl$ContentWithPrefetchedInputStream.<init>(ContentImpl.java:402)

      at com.sapportals.wcm.repository.ContentImpl.initContent(ContentImpl.java:360)

      at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:111)

      at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)

      at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:370)

      at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:259)

      at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:762)

      at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:454)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

      at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:333)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

      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:328)

      at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

      at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

      at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)

      at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)

      at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

      at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

      at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

      at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)

      at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

      at com.sapportals.wcm.portal.connection.KmConnection.handleRequest(KmConnection.java:52)

      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.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:387)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

      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(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)</b>

      Thanks in advance

      Best Regards

      >

      > I got the same problem ans I resolve the issue as

      > follows

      >

      > 1. You need to go server

      > E:\usr\EPP\JC01\J2ee\Configtool

      > 2. Run the configtool.bat

      > 3.Go to Cluster data -->Instance_IDXXXXXXX --> Server

      > _IDXXXXXX

      >

      > 4. Need to add the following perameters

      > Djava.io.tmpdir = e:\EP_TEMP

      > Dcm.tmpdir=e:\EP_TEMP

      > 5. Restart the j2ee server

      >

      > 6. Now you upload the files.

      >

      >

      > hope this will be helpful.

      >

      > Thanks

      > Ramana

  • author's profile photo Former Member
    Former Member
    Posted on May 12, 2006 at 11:55 AM

    Is this upon uploading or retrieving?

    Anyway, you may want to do a "show source" on the page reporting the internal server error. It should contain a stack trace.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      This indicates that for the purpose of getting the content from the repository, the server tried to apply an XSLT transformation.

      The only reason I can think of why this would happen is that you have enabled a broken or misconfigured content filter for that repository.

  • author's profile photo Former Member
    Former Member
    Posted on May 12, 2006 at 10:48 AM

    Please take in a look in the knowledgemanagement log and search for related stacktraces. If you post it here we should be able to help.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.