openssp icon indicating copy to clipboard operation
openssp copied to clipboard

when we request the url using the browser getting some error

Open sivatharan opened this issue 6 years ago • 7 comments

#project is running URL : http://localhost:8080/open-ssp/SupplyVideoService?site=1&test=1

I am getting this error ERROR: CoreSupplyServlet com.atg.openssp.core.cache.type.SiteDataCache cache empty for 1

sivatharan avatar Jun 29 '18 10:06 sivatharan

Did you try to debug your code?

This OpenSSP is just a platform to develop an SSP. You may not expect run it and it will work out of the box.

schmermeister avatar Jun 29 '18 13:06 schmermeister

Hi Andre,

I'm having the same issue in the project tag v0.2. I've noticed the following error messages in the tomcat console which refers the line 49 in AbstractConfigurationLoader.java file: final Set<Object> keys = properties.keySet();

Here is the console:

INFO: ApplicationInit **** Initing core application **** INFO: ApplicationInit **** SSP Version: 0.2 **** ERROR: AbstractConfigurationLoader null Jul 09, 2018 8:19:23 PM org.apache.catalina.core.ApplicationContext log SEVERE: StandardWrapper.Throwable java.lang.NullPointerException at com...system.loader.AbstractConfigurationLoader.readValues(AbstractConfigurationLoader.java:49) at com.atg.openssp.core.system.ApplicationInit.init(ApplicationInit.java:53)

Jul 09, 2018 8:19:23 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet /open-ssp threw load() exception java.lang.NullPointerException at com.atg...em.loader.AbstractConfigurationLoader.readValues(AbstractConfigurationLoader.java:49) at com.atg.openssp.core.system.ApplicationInit.init(ApplicationInit.java:53)

When I send a request: http://localhost:8080/open-ssp/SupplyVideoService?site=1&test=1 The console message: ERROR: CoreSupplyServlet com.atg.openssp.core.cache.type.SiteDataCache cache empty for 1

Any idea about what goes wrong related to AbstractConfigurationLoader?

Thanks, Ozyet.

Ozyet avatar Jul 09 '18 19:07 Ozyet

+Additional info: I'm running the platform in local environment and used the following command in core folder: sudo mvn tomcat7:run-war

Ozyet avatar Jul 09 '18 20:07 Ozyet

Hi all,

the problem occurs in ProjectProperty.readFile() method. In some cases it couldn't determined if OpenSSP runs on a dev environment or production. Fixed in version 0.3.

schmermeister avatar Jul 10 '18 08:07 schmermeister

Hi Andre,

Thanks for your reply. I've just checked but couldn't find a tag for v0.3 in GitHub. Just wonder if you are planning to release this version here?

Ozyet avatar Jul 10 '18 10:07 Ozyet

Hi, you are right it is not tagged yet. The master branch ist v0.3.

schmermeister avatar Jul 10 '18 13:07 schmermeister

hello man, how to create javascript ad tags?

damai21 avatar Apr 14 '19 18:04 damai21