Problem testing EMML samples

28 views
Skip to first unread message

Meriem

unread,
Jan 2, 2011, 8:28:03 AM1/2/11
to Open Mashup Alliance Interest Group
hello,
i've problem loading EMML examples.
Windows XP
JVM Version: 1.5.0_18
Tomcat Version: Apache Tomcat/5.5.27
installed Mashup Server following EMML guide.
I dont use any proxy

when i try to start emmclient from CLI i get the following error.
------
apache-tomcat@teox:~/webapps/emml/WEB-INF/classes$ java emmlclient
http://localhost:8080/emml/twitter
Invoking URL: http://localhost:8080/emml/twitter
Exception in thread "main" java.io.IOException: Server returned HTTP
response code: 500 for URL: http://localhost:8080/emml/twitter
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(Unknown Source)
at emmlclient.main(emmlclient.java:24)
------
if i write in browser http://localhost:8080/emml
it returns:


javax.servlet.ServletException: Load Mashups failednull
org.oma.emml.controller.EMMLServlet.init(EMMLServlet.java:33)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:293)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
849)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:
454)
java.lang.Thread.run(Unknown Source)


root cause


java.net.MalformedURLException
java.net.URL.<init>(Unknown Source)
java.net.URL.<init>(Unknown Source)
java.net.URL.<init>(Unknown Source)

org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)

org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
org.oma.emml.utils.XMLConversionUtils.getDocument
(XMLConversionUtils.java:71)

org.oma.emml.me.commons.EngineUtils.getRegisteredMashupServices
(EngineUtils.java:200)

org.oma.emml.me.runtime.MashupLoader.loadMashups(MashupLoader.java:
53)
org.oma.emml.me.runtime.MashupLoader.<init>(MashupLoader.java:
45)
org.oma.emml.me.runtime.EMMLService.<init>(EMMLService.java:
46)
org.oma.emml.me.runtime.EMMLServiceFactory.createService
(EMMLServiceFactory.java:43)
org.oma.emml.controller.EMMLServlet.init(EMMLServlet.java:30)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:293)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
849)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:
454)
java.lang.Thread.run(Unknown Source)


note The full stack trace of the root cause is available in the
Apache
Tomcat/6.0.20 logs.


-----
Please Help me!
thanks a lot


raj

unread,
Jan 4, 2011, 2:38:56 PM1/4/11
to open-mashu...@googlegroups.com
Hi,

This error typically happens when  samples folder is not installed. Please make sure EMML samples & mashups.xml are in <appserver>/webapps/emml/WEB-INF/classes folder.

hth,
raj
Reply all
Reply to author
Forward
0 new messages