I am testing the JNDI datasource with sample downloaded from url [1]. I upload the app as a tenant, and register the datasource in the context.xml of the app.
upload the app to AS, with no version number, click go to URl and find the app is working, and achieve the data from database; delete the app from the console, upload the app to AS, with version number 0.1.2
then the back-end console show some errors:
[2013-12-17 17:18:13,816] ERROR {org.wso2.carbon.tomcat.internal.CarbonTomcat} - Webapp StandardContext[/carbonDSwebApp/0.1.2] failed to deploy
[2013-12-17 17:18:13,817] ERROR {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} - Error while deploying webapp: StandardContext[carbonDSwebApp#0.1.2.war].File[F:\OPENSO~1\WSO2\WSO2AS~1.0\bin..\repository\deployment\server\webapps\carbonDSwebApp#0.1.2.war]
org.wso2.carbon.tomcat.CarbonTomcatException: Webapp failed to deploy
Caused by: java.lang.NullPointerException: no !/ in spec
then no matter how many times of deletion and upload, this app is no longer able to be ploaded.
[1] http://dinushasblog.blogspot.com/2011/12/how-to-access-carbon-data-source-from.html
Related
We are facing an issue on our application which uses google big query with OAuth authentication. When we run the application on docker container during runtime we get an authentication URL on the docker console like below :
Please open the following address in your browser:
https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=auto&client_id=330834658013-dg6niu0iihdcatin3c3mi6haqebrjinm.apps.googleusercontent.com&redirect_uri=http://localhost:61984/Callback&response_type=code&scope=https://www.googleapis.com/auth/bigquery%20https://www.googleapis.com/auth/cloud-platform%20https://www.googleapis.com/auth/drive
If we open the URL outside the container in the browser. We do not get the response and application get failed.
We tried to run the application other than docker container, we found that It automatically redirect to the browser and successfully get the response after that an folder named as 'credentials' containing StoredCredentials file is created locally which get referred next time for authentication.
As described above, due to authentication is not done by URL on docker container. The credential folder is also not created. Could you explain the resolution on priority.
We tried to run the application other than docker, It is running successfully. As it automatically redirect the URL and completes the authentication. Same is expected on docker container as well.
I'm new to Cloudfoundry and Mindsphere.When running React app(simple app) in local is working fine. But when push to Cloud Foundry and registered in mindsphere, While accessing the URL, it showing the the following error:
404 Not Found: Requested route ('demo-react-app.xxxxxx.xxxx1.mindsphere.io') does not exist.
Document(page) itself is not loading.
please help,How to rectify this error?
For sitecore publishing service I have followed the steps from https://jonathanrobbins.co.uk/2016/09/02/setting-up-sitecore-publishing-service and Sitecore. But I am getting below error:
HTTP Error 500.19 – Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x8007000d
Config Error
Config File \?\C:\sitecorepublishing\web.config
What am I missing?
The AspNetCoreModule has to be installed on the server and is part of the ASP.NET Core Server Hosting Bundle.
hello friends i developed a simple java web application and hosted in vmware cloudfoundry but i am unable to launch my application in the browser . it gives this error
HTTP Status 404 - /
type Status report
message /
description The requested resource (/) is not available.
Apache Tomcat/6.0.35
kindly reply me at aravnd8babu#gmail.com
Did you add the application URL in your host file? If not add a new entry i.e:
Cloudfoundry-IP applicationName.vcap.me
In your local tomcat the URL is localhost:8080/applicationName but in cloudfoundry it is applicationName.vcap.me
Run the command "vmc apps" and provide the output.
i have a gwt app deployed to Jetty, i use maven, maven-jetty-plugin, following the instruction provided here: http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin, my project follows the maven structure so no configuration needed, all i need is to run : mvn jetty:run, then i can see jetty server started, back to browser, i typed 127.0.0.1:8080 i saw a page with Error 404 -Not Found, saying:
No context on this server matched or handled this request.
Context known to this server are:
/console --> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext#1c093b3c{/console./Users/Hj/Documents/workspace/samples/console/src/main/webapp}
and that's my webapp '/console', so i click that link, it went to 127.0.0.1:8080/console url and here is the message on that page:
HTTP ERROR: 503
Problem accessing /console. Reason: SERVICE_UNAVAILABLE
does anyone know what's wrong here? i think the web app was deployed to Jetty, how come it says service unavailable? thanks.