How to resolve this error? i am getting repeatedly this error in my project when i start apache tomcat server 6 - tomcat6

How to resolve this error? I am getting repeatedly this error in my project when I start apache tomcat server 6
Please find below error and give some suggestions to rectify this
INFO: Initializing Spring root WebApplicationContext
2015-06-04 14:51:17,540 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/${GyreFxConfigFile}]
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:87)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:656)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
How to resolve this error? i am getting repeatedly this error in my project when i start apache tomcat server 6

Related

Zeppelin: misconfiguration

I'm getting this error message when I'm trying to run my zeppelin:
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
WARN [2020-05-25 09:08:31,181] ({main} ZeppelinConfiguration.java[create]:159) - Failed to load configuration, proceeding with a default
INFO [2020-05-25 09:08:31,241] ({main} ZeppelinConfiguration.java[create]:171) - Server Host: 0.0.0.0
Exception in thread "main" java.lang.NumberFormatException: For input string: "tcp://172.30.239.172:80"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at org.apache.zeppelin.conf.ZeppelinConfiguration.getInt(ZeppelinConfiguration.java:248)
at org.apache.zeppelin.conf.ZeppelinConfiguration.getInt(ZeppelinConfiguration.java:243)
at org.apache.zeppelin.conf.ZeppelinConfiguration.getServerPort(ZeppelinConfiguration.java:327)
at org.apache.zeppelin.conf.ZeppelinConfiguration.create(ZeppelinConfiguration.java:173)
at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:129)
I'm deploying zeppelin without any configuration.
EDIT:
Additional error message after having set ZEPPELIN_PORT:
ERROR [2020-05-25 12:41:41,354] ({main} ZeppelinServer.java[main]:262) - Error while running jettyServer
java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:308)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:396)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:253)
It looks like you're using links with Docker compose, or something like, so it defines the ZEPPELIN_PORT environment variable for Zeppelin container that has a form of tcp://172.30.239.172:80. But this environment variable should contain only port, like, 80, or 8080.
To fix the problem try to rename linked container from zeppelin to something else, so it won't override the environment variable that is used by Zeppelin itself.

java.lang.NoSuchMethodError: com.twilio.sdk.resource.Resource.<init>(Lcom/twilio/sdk/TwilioRestClient;)V

I have written code for Twilio Incoming Message Store in a database.
I have added the new Twilio SDK version as JAR and also all Jackson JARs.
But I get below exception:
Uncaught exception from servlet
java.lang.NoSuchMethodError: com.twilio.sdk.resource.Resource.<init>(Lcom/twilio/sdk/TwilioRestClient;)V
at com.twilio.sdk.resource.InstanceResource.<init>(InstanceResource.java:25)
at com.twilio.sdk.resource.instance.Account.<init>(Account.java:67)
at com.twilio.sdk.TwilioRestClient.<init>(TwilioRestClient.java:149)
at com.twilio.sdk.TwilioRestClient.<init>(TwilioRestClient.java:108)
Here is a screenshot of the error output:

solr admin panel HTTP ERROR 404

Am using digitalocean VPS I installed solr-5.5.0
sudo service solr status
Found 1 Solr nodes:
Solr process 1072 running on port 8983
{
"solr_home":"/var/solr/data/",
"version":"5.2.1 1684708 - shalin - 2015-06-10 23:20:13",
"startTime":"2016-02-25T17:14:47.47Z",
"uptime":"0 days, 8 hours, 39 minutes, 54 seconds",
"memory":"92.1 MB (%18.8) of 490.7 MB"}
http://myip:8983/solr/
am getting this error on my screen.
HTTP ERROR 404
Problem accessing /solr/. Reason:
Not Found
Powered by Jetty://
how to fix this error
As the exception says, you are missing the solrconfig.xml file in the conf folder of your core.
To get this file and all others, go to {SOLR_DIST}/server/solr/configsets/basic_configs and copy over the conf folder to /var/solr/data/gettingstarted1 and restart solr.
This will fix the error.

Error: Test Connection Failed for MC_Ten. Failed to Connect to the End Point : Reason Unknown

I'm trying to create a connection "Salesforce Marketing Cloud (Cloud Computing)" in Informatica Cloud as shown in the picture
But it gives me the error in question
File fuelsdk-test.properties I entered:
endpoint= https : // www . exacttargetapis . com
authEndpoint= https : // auth . exacttargetapis . com
soapEndpoint= https : // webservice . s7 . exacttarget . com / Service . asmx
username=********
password=*********
clientId=*************************
clientSecret=**********************
Can you tell me how to fix the error?
Below some log (tomcat.log) if can be useful for any response:
2015-11-30 22:17:43,936 ERROR [com.informatica.saas.toolkit.metadataRead.resources.PluginsResource] - Exception Thrown in Operation: connect
com.informatica.cloud.api.adapter.connection.ConnectionFailedException: Failed to Connect to the End Point : Reason Unknown
at com.informatica.saas.toolkit.metadataRead.Dao.PluginDao.connect(PluginDao.java:248)
at com.informatica.saas.toolkit.metadataRead.resources.PluginsResource.connect(PluginsResource.java:234)
at sun.reflect.GeneratedMethodAccessor349.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
I am working for Informatica,
Error message thrown when testing the connection is either one of the connection attributes or context of the plugin fails to do connection which results the code to throw the exception error message.
"Failed to Connect to the End Point : Reason Unknown"
There is no specific information supplied in the exception to find the reason of failure.
Please post your question in informatica community for more quicker response on informatica products.
https://network.informatica.com/welcome

GAE No route to host error

When deploying my GAE app I get the following error:
ERROR appcfg.py:2161 An error occurred processing file '': <urlopen error [Errno 65] No route to host>. Aborting.
When I try to rollback the last update I get the same error. What steps can I take to debug this?

Resources