You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Naresh Chaurasia <nc...@gmail.com> on 2011/09/14 14:49:40 UTC

help with displaying widget.

I have deployed shindig on my jboss server. When i hit
http://localhost:8180/shindig-server-2.0.0/samplecontainer/samplecontainer.html
,
Gadget testing container page is loaded.
When i type
http://localhost:8180/shindig-server-2.0.0/samplecontainer/examples/SocialHelloWorld.xmlin
"Displaying gadget" field and click on "reset all" nothing happens.

I was hoping that the a widget would be loaded but nothing happens. What
could be the possible problem.

-- 
Regards,
Naresh C

Re: help with displaying widget.

Posted by Naresh Chaurasia <nc...@gmail.com>.
Also i have made the following entries in userConfig.bat (i am using jboss
6x)

set JAVA_OPTIONS=%JAVA_OPTIONS% -Dshindig.port=8080
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dshindig.host=localhost



On Fri, Sep 16, 2011 at 11:39 AM, Henry Saputra <he...@gmail.com>wrote:

> any error shown in browser or server logs?
>
> - Henry
>
> On Wed, Sep 14, 2011 at 5:49 AM, Naresh Chaurasia <nc...@gmail.com>
> wrote:
> > I have deployed shindig on my jboss server. When i hit
> >
> http://localhost:8180/shindig-server-2.0.0/samplecontainer/samplecontainer.html
> > ,
> > Gadget testing container page is loaded.
> > When i type
> >
> http://localhost:8180/shindig-server-2.0.0/samplecontainer/examples/SocialHelloWorld.xmlin
> > "Displaying gadget" field and click on "reset all" nothing happens.
> >
> > I was hoping that the a widget would be loaded but nothing happens. What
> > could be the possible problem.
> >
> > --
> > Regards,
> > Naresh C
> >
>



-- 
Regards,
Naresh C

Re: help with displaying widget.

Posted by Naresh Chaurasia <nc...@gmail.com>.
Henry,
I am using 3x container. I hit the following url:
*http://localhost:8080/samplecontainer/samplecontainer.html*
*
*
It is loaded properly, but no widgets are displayed. My web.xml file is
attached for your reference.

When i click "reset all" nothing happens. Following is the stack trace
related to Shindig

12:03:51,475 INFO  [TomcatDeployment] deploy, ctxPath=/
12:03:51,959 INFO  [StandardContext] Suspicious url pattern: "/xpc*" in
context [] - see section SRV.11.2 of the Servlet specification
12:03:53,302 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J
bindings.
12:03:53,302 ERROR [STDERR] SLF4J: Found binding in
[vfs:/D:/JBoss_Tomcat/common/lib/slf4j-jboss-logmanager.jar/org/slf4j/impl/StaticLoggerBinder.class]
12:03:53,302 ERROR [STDERR] SLF4J: Found binding in
[vfs:/D:/JBoss_Tomcat/server/default/deploy/shindig3.war/WEB-INF/lib/slf4j-jdk14-1.5.11.jar/org/slf4j/impl/StaticLoggerBinder.class]
12:03:53,302 ERROR [STDERR] SLF4J: See
http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
12:03:55,628 INFO  [FeatureRegistry] Loading resources from
res:features-extras/features.txt.
12:03:55,659 INFO  [XmlUtil] Not using secure XML processing.
12:03:55,659 INFO  [XmlUtil] Reusing document builders.
12:03:57,767 INFO  [FeatureRegistry] Loading resources from
res:features/features.txt.
12:03:57,876 INFO  [UpdateChecker] New update(s) found: 2.4.5 [
http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4].
Please check http://ehcache.org for the latest version.
12:04:01,561 INFO  [JsonContainerConfigLoader] Loading resources from
containers/default/container.js.
12:04:01,561 INFO  [JsonContainerConfigLoader] Reading container config:
containers/default/container.js.
12:04:01,654 INFO  [CajaContentRewriter] Cajoled cache created
12:04:01,889 INFO  [CajaContentRewriter] Cajoled cache created
12:04:02,154 WARNING [OAuthModule] Couldn't load OAuth signing key.  To
create a key, run:
 openssl req -newkey rsa:1024 -days 365 -nodes -x509 -keyout testkey.pem \
 -out testkey.pem -subj /CN=mytestkey
 openssl pkcs8 -in testkey.pem -out oauthkey.pem -topk8 -nocrypt -outform
PEM

 Then edit shindig.properties and add these lines:
 shindig.signing.key-file =<path-to-oauthkey.pem>
 shindig.signing.key-name =mykey

12:04:02,154 INFO  [OAuthModule] Using random key for OAuth client-side
state encryption
12:04:02,154 INFO  [OAuthModule] Using random key for OAuth client-side
state encryption
12:04:02,185 INFO  [IniShiroFilter] Null or empty configuration specified
via 'config' init-param.  Checking path-based configuration.
12:04:02,185 INFO  [IniShiroFilter] Null or empty configuration specified
via 'config' or 'configPath' filter parameters.  Trying the default
classpath:shiro.ini file.

................
................
................

12:06:23,019 INFO  [org.apache.shindig.gadgets.servlet.CajaContentRewriter]
Cajoled cache created
12:06:23,597 INFO  [org.apache.shindig.gadgets.servlet.CajaContentRewriter]
Cajoled cache created




On Fri, Sep 16, 2011 at 11:39 AM, Henry Saputra <he...@gmail.com>wrote:

> any error shown in browser or server logs?
>
> - Henry
>
> On Wed, Sep 14, 2011 at 5:49 AM, Naresh Chaurasia <nc...@gmail.com>
> wrote:
> > I have deployed shindig on my jboss server. When i hit
> >
> http://localhost:8180/shindig-server-2.0.0/samplecontainer/samplecontainer.html
> > ,
> > Gadget testing container page is loaded.
> > When i type
> >
> http://localhost:8180/shindig-server-2.0.0/samplecontainer/examples/SocialHelloWorld.xmlin
> > "Displaying gadget" field and click on "reset all" nothing happens.
> >
> > I was hoping that the a widget would be loaded but nothing happens. What
> > could be the possible problem.
> >
> > --
> > Regards,
> > Naresh C
> >
>



-- 
Regards,
Naresh C

Re: help with displaying widget.

Posted by Henry Saputra <he...@gmail.com>.
any error shown in browser or server logs?

- Henry

On Wed, Sep 14, 2011 at 5:49 AM, Naresh Chaurasia <nc...@gmail.com> wrote:
> I have deployed shindig on my jboss server. When i hit
> http://localhost:8180/shindig-server-2.0.0/samplecontainer/samplecontainer.html
> ,
> Gadget testing container page is loaded.
> When i type
> http://localhost:8180/shindig-server-2.0.0/samplecontainer/examples/SocialHelloWorld.xmlin
> "Displaying gadget" field and click on "reset all" nothing happens.
>
> I was hoping that the a widget would be loaded but nothing happens. What
> could be the possible problem.
>
> --
> Regards,
> Naresh C
>