Quantcast
Channel: SCN : Popular Discussions - SAP HANA Cloud Platform Developer Center
Viewing all 1318 articles
Browse latest View live

Passing initialization parameters to Web Application

$
0
0

Hi,

how can I pass initialization parameters to Web Applications, e.g. via Servlet Context or JNDI Environment?

Is there a way to define external values in both, local server and cloud scenario?

I don't want to have initialization parameters in my web.xml. I just want to deliver a WAR, and configuration is done on the servlet container.

 

Thanks in advance for any hints, Sebastian


Deploy a web application programmatically on the cloud

$
0
0

Hi All,

 

I would like to know if it is possible to deploy .war from a running web application ?

I have a scenario when my first web app builds another  .war application file in runtime and then needs to deploy it on the same cloud.

Is it possible to do on nwtrial.ondemand.com cloud ? Is this a legal scenario ?

If yes, what apis or services should the first application use?

 

Regards,

Slavik.

Sending attachments with javax.mail

$
0
0

Hi,

 

I'm having a bit of difficulty as it appears that the DataHandler class referenced in com.sap.javax.mail-1.41.jar javax.mail.internet.MimeBodyPart.setDataHandler is different to the one that is referenced in com.sap.javax.activation-1.1.1.jar

 

thus I'm getting:

 

java.lang.LinkageError: loader constraint violation: when resolving method "javax.mail.internet.MimeBodyPart.setDataHandler(Ljavax/activation/DataHandler;)V" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, au/com/discoveryconsulting/timesheet/demo/mail/MailEventSender, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, javax/mail/internet/MimeBodyPart, have different Class objects for the type n/DataHandler;)V used in the signature

 

my build path has the SAPNWCloud components above the JRE so the SAP libs should be the ones that are being referenced and not the ones from the JDK.

 

I'm currently running SDK 1.12 - so will update to 1.17 and see if that makes a difference...

 

this is the code that's dying:

 

MimeBodyPart sigAttachment = new MimeBodyPart();                              mainPart.addBodyPart(sigAttachment);                                FileDataSource sigDS = new FileDataSource(                                                  "/images/Discovery_email_sig.jpg");                              sigAttachment.setDataHandler(new DataHandler(sigDS)); //this line here!

 

Any pointers much appreciated.

 

Cheers,


Chris

Uncaught TypeError: Cannot read property 'Table' of undefined

$
0
0

Hello,

 

I tried to follow the end to end guide (http://scn.sap.com/docs/DOC-33513). Unfortunately when I add the table as described in section 2.3 I get the following error, when I try to display the page in the javascript log: Uncaught TypeError: Cannot read property 'Table' of undefined. Nothing, besides the background, gets displayed. I attached my source code (Note that you have to rename the file to *.zip).

 

Best Regards,

Jan

Delete old log files

$
0
0

I'm looking for a functionality to delete old log files from an application deployed on the nw cloud but I wasn't able to spot it yet. Neither the neo sdk tools nor the web page https://account.netweaver.ondemand.com/ seem to provide such a functionality. As a workaround I'd also be happy with some kind of logrotate functionality where I can manually trigger a rename of the existing logs so I can start with a new and empty log file.

Compilation Error: javax.servlet.annotation doesn't exist

$
0
0

Hello,

 

I created a Dynamic Web Project and converted it to a Maven Project. When I try to execute Maven Install I get the following Error:

[ERROR] COMPILATION ERROR :

[ERROR] bootstrap class path not set in conjunction with -source 1.6

C:\Users\D056848\workspace\social-media-integration\src\com\sap\netweaver\cloud\social\media\TwitterServlet.java:[5,31] error: package javax.servlet.annotation does not exist

[ERROR] C:\Users\D056848\workspace\social-media-integration\src\com\sap\netweaver\cloud\social\media\TwitterServlet.java:[13,1] error: cannot find symbol

 

I attached the complete Maven log for further details. Furthermore I attached my pom.xml which is basically the same as the pom.xml from the end-to-end tutorial.

 

In Project Properties --> Java Build Path the SAP Netweaver Cloud Library is existent (including javax.servlet-3.0.0.v201103241009.jar and javax.servlet.jsp-2.2.0.v201103241009.jar)

 

Any ideas?

 

Regards,

Jan

 

 

Web application bundles (wab) on nw cloud

$
0
0

Is it possible (or planned to be supported) to deploy web application bundles on the nw cloud? According to the documentation one can deploy wars and osgi bundles. I just tried to deploy a minimal wab with a single servlet. The wab has a its classes under WEB-INF\classes, a web.xml fle and a manifest with the web contextpath entry and the the bundle class path set to WEB-INF\classes. After starting the app I can see in the log files entries like '

#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#All bundles are active|

2013 01 28 10:22:40#+00#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#All bundles are active|

2013 01 28 10:22:40#+00#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#All bundles are resolved|

2013 01 28 10:22:40#+00#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#Context path [webconsole] not found in any of the web application paths|

2013 01 28 10:22:40#+00#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#Applications not started yet: {webconsole=Application with context path [webconsole] is not started.}|

2013 01 28 10:22:40#+00#DEBUG#com.sap.core.js.admin.operations.AdminOperations##anonymous#RMI TCP Connection(17)-10.78.1.9##foo#app#web#null#null#Not all applications started yet|

'

Is there anything else required? I've seen at http://zeroturnaround.com/software/jrebel/resources/documentation/jrebel-how-to-getting-started-with-sap-netweaver-cloud/ that they use a touchpoint action for p2 to extract the bundle but don't know if this is a strict requirement? The documentation is definitely lacking some details here. Also I wasn't able to find a list of the provided bundles/packages in the nw cloud. Sure one can enable the debug level logging (thats what I've done) and look at the output here but this isn't really cool.

jdbc driver for SAP HANA?

$
0
0

Hi,

 

I was deployed excel file reader application using tomcat 7. For the back end purpose i used oracle 11g(oracle.jdbc.driver.OracleDriver ). How could I deploy the same application using SAP Netweaver Cloud and which driver i have to use for SAP HANA DB.

 

Thanks and Regards,

Manoj


Trouble while setting Eclipse

$
0
0

Hello,

 

When I try to configure eclipse for NW cloud i get the below message. Can someone help ?

 

Cannot complete the install because one or more required items could not be found.

  Software being installed: Eclipse Tools for SAP NetWeaver Cloud 1.9.7.1 (com.sap.core.tools.eclipse.server.feature.feature.group 1.9.7.1)

  Missing requirement: Juno-specific Implementation for SAP NetWeaver Cloud 1.4.4.1 (com.sap.core.tools.eclipse.server.version 1.4.4.1) requires 'bundle org.eclipse.wst.server.core 1.4.0' but it could not be found

  Cannot satisfy dependency:

    From: WTP Server Adapter for SAP NetWeaver Cloud 1.4.4.1 (com.sap.core.tools.eclipse.server.cloud.feature.feature.group 1.4.4.1)

    To: com.sap.core.tools.eclipse.server.version [1.4.4.1]

  Cannot satisfy dependency:

    From: Eclipse Tools for SAP NetWeaver Cloud 1.9.7.1 (com.sap.core.tools.eclipse.server.feature.feature.group 1.9.7.1)

    To: com.sap.core.tools.eclipse.server.cloud.feature.feature.group [1.4.4.1]

Deployment to local server hangs occasionally due to ZipError

$
0
0

Hi,

I am experiencing this very often, but not I don't know how it can be provoked so it can be reproduced. It happens when I start the local server, while the WAR (config\.\pickup\server.war) is deployed.

However, when it happens, the Job hangs, and I cannot cancel. Restarting Eclipse is no option, as the Job is still running. So I can either kill Eclipse, or wait until a timeout is reached and the Job exits.

 

Is it possible to make the deployment job cancelable? Or at least catch up from the error and exit the job.

 

Below the stacktrace...

 

Regards, Sebastian

 

17:17:43,610 [com.sap.core.js.logging.bridge.OSGILogListener@4dfe7933] ERROR org.eclipse.osgi (OSGILogListener.java:62) writeLogTrowable - An unexpected runtime error has occurred. The application will terminate.java.util.zip.ZipError: jzentry == 0,

jzfile = 1739899488,

total = 853,

name = D:\Dev\sap-cloud\workspace\Servers\Local Test Server for SAP NetWeaver Cloud-config\webapps\server\WEB-INF\lib\jaxb-impl-2.2.6.jar,

i = 337,

message = null

    at java.util.zip.ZipFile$1.nextElement(ZipFile.java:527)

    at java.util.zip.ZipFile$1.nextElement(ZipFile.java:505)

    at java.util.jar.JarFile$1.nextElement(JarFile.java:246)

    at java.util.jar.JarFile$1.nextElement(JarFile.java:241)

    at org.apache.tomcat.util.scan.FileUrlJar.nextEntry(FileUrlJar.java:77)

    at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1995)

    at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1943)

    at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1928)

    at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1322)

    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)

    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)

    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)

    at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:125)

    at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:109)

    at org.eclipse.gemini.web.extender.WebContainerBundleCustomizer.addingBundle(WebContainerBundleCustomizer.java:45)

    at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:482)

    at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)

    at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)

    at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:185)

    at org.osgi.util.tracker.BundleTracker.open(BundleTracker.java:163)

    at org.eclipse.gemini.web.extender.ExtenderActivator$ExtendedWebContainerTracker.addingService(ExtenderActivator.java:59)

    at org.eclipse.gemini.web.extender.ExtenderActivator$ExtendedWebContainerTracker.addingService(ExtenderActivator.java:1)

    at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:980)

    at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)

    at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)

    at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:234)

    at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:941)

    at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)

    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)

    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)

    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)

    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)

    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)

    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950)

    at org.eclipse.gemini.web.internal.WebContainerActivator$ServletContainerTracker.addingService(WebContainerActivator.java:117)

    at org.eclipse.gemini.web.internal.WebContainerActivator$ServletContainerTracker.addingService(WebContainerActivator.java:1)

    at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:980)

    at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)

    at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)

    at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:234)

    at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:941)

    at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)

    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)

    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)

    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)

    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)

    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)

    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950)

    at org.eclipse.gemini.web.tomcat.internal.Activator.start(Activator.java:61)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)

    at java.security.AccessController.doPrivileged(Native Method)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)

    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)

    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)

    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

File system access on a NW Cloud/Neo instance

$
0
0

For a variety of reasons, our application requires direct access to a filesystem in order to perform some of its functionality.  These areas include data storage (we use a graph model database for part of our application), dynamically loading and deploying Jars/bundles at runtime, and storage of large blob/clob data.  While some of these could be virtualized to an RDBMS or JPA store, it would be very suboptimal in terms of performance.  Also, for the dynamic jar loading, we definitely need some type of file system access (or would have to write a custom classloader and splice it into the classloader hiearchy, which brings with it a whole host of other concerns). 

 

On AWS, for example, we attach an EBS volume to each instance as its backing file system store and mount it to a known location/path on the VM.  There does not seem to be similar capability in NetWeaver cloud.

 

Anyone have any insights on how these limitations can be worked around?

 

Thanks!

 

Rick

Sending attachments with javax.mail

$
0
0

Hi,

 

I'm having a bit of difficulty as it appears that the DataHandler class referenced in com.sap.javax.mail-1.41.jar javax.mail.internet.MimeBodyPart.setDataHandler is different to the one that is referenced in com.sap.javax.activation-1.1.1.jar

 

thus I'm getting:

 

java.lang.LinkageError: loader constraint violation: when resolving method "javax.mail.internet.MimeBodyPart.setDataHandler(Ljavax/activation/DataHandler;)V" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, au/com/discoveryconsulting/timesheet/demo/mail/MailEventSender, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, javax/mail/internet/MimeBodyPart, have different Class objects for the type n/DataHandler;)V used in the signature

 

my build path has the SAPNWCloud components above the JRE so the SAP libs should be the ones that are being referenced and not the ones from the JDK.

 

I'm currently running SDK 1.12 - so will update to 1.17 and see if that makes a difference...

 

this is the code that's dying:

 

MimeBodyPart sigAttachment = new MimeBodyPart();                              mainPart.addBodyPart(sigAttachment);                                FileDataSource sigDS = new FileDataSource(                                                  "/images/Discovery_email_sig.jpg");                              sigAttachment.setDataHandler(new DataHandler(sigDS)); //this line here!

 

Any pointers much appreciated.

 

Cheers,


Chris

Executing RFCs in an ABAP backend system from a NetWeaver Cloud Application

$
0
0

Hi,

I wrote a little tutorial explaining how to execute remote-enabled function modules (RFMs) from within a Java application running on the NetWeaver Cloud:

 

Executing RFC Calls from a  NetWeaver Cloud Application

 

Currently the SAP Cloud Connector does not yet support the RFC protocol, but with the workaround described in the above document, it should be possible to call any ABAP function module in an on-premise R/3 system in a secure and effortless way. The workaround leverages an internally installed SAP Business Connector, which can be set up in half an hour, if not yet installed.

The above mechanism is not limited to calling RFMs: the Business Connector provides much more functionality, and the referenced jar file allows executing any SAP BC Service very easily, so you could for example access an on-premise database using the Business Connector's WmDB package, put/get files onto/from an internal FTP server, etc.

 

In this thread please report your experiences with the above procedure or any problems you encounter.

 

Ulrich

Multi-tenancy

$
0
0

Hi:

As a part of an app we are developing, we would like cache / persist some data that should be tenant specific. In the developer documentation, I dont see much information about multi-tenancy aspects. Is the multi-tenancy / data separation done at an account level or is there some other way of doing this?

Thanks a lot.

Best regards

Venki

Connection to 127.0.0.1 Failed

$
0
0

Hi,

 

 

I just started out with this cloud stuff. Looks nice.

However i get an error on the very first example i try and i cannot deploy the Hello World locally.

 

The requested URL could not be retrieved


While trying to retrieve the URL: http://localhost:8080/HelloWorld/HelloWorldServlet 

The following error was encountered: 

  • Connection to 127.0.0.1 Failed

The system returned:

    (111) Connection refused

 

What could be the solution?


SAPUI5 in web application bundle

$
0
0

I'm currently trying to build a simple web application bundle which makes use of sapui5. My bundle has roughly the following content:

 

`- META-INF/    `- MANIFEST.MF    `- p2.inf
`- WEB-INF/    `- classes/    `- lib/    `- web.xml
`- js/
`- resources/
`- index.html

 

The WEB-INF/lib folder contains the 13 jars for sapui5 version 1.8.6. The index.html includes the sap bootstrap js  and a local js which builds the shell content. The bootstrapping works but when it comes to the creation of the app specific sapui5 controllers and views I'm getting a browser error saying the resource is not available. On the server the log contains entries like:

 

javax.naming.NameNotFoundException: Name '/resources/foo/bar/l10n/messagebundle_en.properties' does not exist.
 at org.eclipse.gemini.web.tomcat.internal.loading.BundleDirContext.getNamedEntry(BundleDirContext.java:104)
 at org.eclipse.gemini.web.tomcat.internal.loading.BundleDirContext.doGetAttributes(BundleDirContext.java:169)
 at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java:1102)
 at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java:1055)
 at org.apache.naming.resources.ProxyDirContext.cacheLoad(ProxyDirContext.java:1613)
 at org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirContext.java:1536)
 at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:297)
 at org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:536)
 at org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:201)
 at com.sap.ui5.resource.impl.ServletResourceLocator.findResource(ServletResourceLocator.java:87)
 at com.sap.ui5.resource.ResourceServlet.findResource(ResourceServlet.java:603)
 at com.sap.ui5.resource.ResourceServlet.findResource(ResourceServlet.java:622)
 at com.sap.ui5.resource.ResourceServlet.serveResource(ResourceServlet.java:453)
 at com.sap.ui5.resource.ResourceServlet.doGet(ResourceServlet.java:191)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at com.sap.security.auth.service.webcontainer.internal.Authenticator.invoke(Authenticator.java:147)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
 at com.sap.core.tenant.valve.TenantValidationValve.invokeNextValve(TenantValidationValve.java:169)
 at com.sap.core.tenant.valve.TenantValidationValve.invoke(TenantValidationValve.java:84)
 at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:27)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
 at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:722)|

 

Any hints someone?

Requirements for using SAP Cloud Apps?

$
0
0

Hi there..

 

I'm planing to develop an app for the SAP Cloud.

So I searched for the information, which requirements the end-user of the SAP Cloud App needs - but I didn't find some good answers.

He only need a SAP Account? Or what else?

 

Thanks for some help..

Andi

ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactorymanage

$
0
0

Hi guys,

 

I've unfortunately got an issue where I'm getting a low level class not found exception.

 

You can find the full stack trace attached but the jist is:

 

The server encountered an internal error () that prevented it from fulfilling this request.exception javax.servlet.ServletException: javax.naming.NamingException: Error while attempting to resolve reference [Root exception is javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]]

 

This error occurs time & time again for each workspace & version of eclipse. This error doesn't occur for any of my colleagues who follow the exact same steps.

 

The code that goes with it is:

 

try {            InitialContext ctx = new InitialContext();            ds = (DataSource) ctx.lookup("java:comp/env/jdbc/DefaultDB");
} catch (NamingException e) {            throw new ServletException(e);
}

 

 

Any help would be much appreciated

 

Thanks

 

Mark

Unable to install ondemand tools for eclipse (juno)

$
0
0

Hello All,

 

After reading FAQ etc, and trying some of the solutions there,I didnt find a working answer for this issue:

 

I have read and agreed to the EULA, created a trial account, and am now trying to install the ondemand tools in eclipse juno. However it is repeatedly (even after waiting some time in case the trial account creation has to ripple across the ether) throwing the following error:

 

 

org.eclipse.equinox.p2.core.ProvisionException

Unable to read repository at https://tools.netweaver.ondemand.com/juno/content.xml.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

Thanks

NetWeaver Cloud downtime announcements

$
0
0

In this discussion we are going to announce NetWeaver Cloud infrastructure downtimes.

 

Regards,

NetWeaver Cloud operations team

Viewing all 1318 articles
Browse latest View live




Latest Images