emml.class error loading localhost:8080/emml

5 views
Skip to first unread message

teox99

unread,
Nov 5, 2009, 11:25:34 AM11/5/09
to Open Mashup Alliance Interest Group
hello,
i've problem loading EMML examples.
linux slackware 13.0
JVM Version: 1.6.0_16-b01
Tomcat Version: Apache Tomcat/6.0.20
installed Mashup Server following EMML guide.
im using a proxy so i moved emml.config in .../emml/WEB-INF/classes
and configured to hold a 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 try
apache-tomcat@teox:~/webapps/emml/WEB-INF/classes$ java emmlclient
http://search.twitter.com/search.atom?q='java'
Invoking URL: http://search.twitter.com/search.atom?q=java

and nothing happen..

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



Sara Mitchell

unread,
Nov 5, 2009, 1:03:54 PM11/5/09
to open-mashu...@googlegroups.com
So, first basic question: did you download and install the samples from the OMA site? If not, do that and try this again.

There's information on how to install the samples at http://www.openmashup.org/omadocs/v1.0/emml/oma-readme.html (which is also the README file in the main EMML download).

--- On Thu, 11/5/09, teox99 <teo...@hotmail.com> wrote:

teox99

unread,
Nov 6, 2009, 4:19:52 AM11/6/09
to Open Mashup Alliance Interest Group
yes, i used your same link,
about install (?) i copied the samples in the class folder end Invoked
the files presents in the mashups.xml.
maybe i have to set the classpath in my environment (how to?)
thnx!
Reply all
Reply to author
Forward
0 new messages