Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when we request the url using the browser getting some error #16

Open
sivatharan opened this issue Jun 29, 2018 · 7 comments
Open

when we request the url using the browser getting some error #16

sivatharan opened this issue Jun 29, 2018 · 7 comments

Comments

@sivatharan
Copy link

#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

@schmermeister
Copy link
Contributor

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.

@Ozyet
Copy link

Ozyet commented Jul 9, 2018

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 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
Copy link

Ozyet commented Jul 9, 2018

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

@schmermeister
Copy link
Contributor

schmermeister commented Jul 10, 2018

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.

@Ozyet
Copy link

Ozyet commented Jul 10, 2018

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?

@schmermeister
Copy link
Contributor

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

@damai21
Copy link

damai21 commented Apr 14, 2019

hello man, how to create javascript ad tags?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants