|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
longwellHi,
I tried deploying longwell with tomcat and got a blank page.The reason for it seems to be following when making it point to longwell.
I am able to find start.vt in the specified path. I don't think there is anything wrong with the code since it is able to read data and run it with jetty.
I also tried mannually copying web.xml of longwell to ROOT directory in tomcat since it looks for web.xml in ROOT directory but didn't help. Do I need to do any configuration? I have run out of ideas..
Any help would be appreciated.
11:24:43.154 [Velocity ] ResourceManager : unable to find resource 'jakart
a-tomcat-5.0.28\webapps\longwell-2.5.5\longwell\templates\commands\start.vt' in any resource loader. (6703ms) 11:24:43.154 [...StartCommand] org.apache.velocity.exception.ResourceNotFoundExc eption: Unable to find resource 'jakarta-tomcat-5.0.28\webapps\longwell-2.5.5\lo ngwell\templates\commands\start.vt' (0ms) org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'jakarta-tomcat-5.0.28\webapps\longwell-2.5.5\longwell\templates\commands\start .vt' at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource (ResourceManagerImpl.java:458) at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource( ResourceManagerImpl.java:341) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstan ce.java:831) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.j ava:440) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.j ava:419) at edu.mit.simile.longwell.command.StartCommand.execute(StartCommand.jav a:43) at edu.mit.simile.longwell.LongwellServlet.doGet(LongwellServlet.java:57 6) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard ContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java :577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP ool.java:683) at java.lang.Thread.run(Thread.java:595) Thanks in advance.
Regards,
Ramya _______________________________________________ General mailing list General@... http://simile.mit.edu/mailman/listinfo/general |
|
|
|
|
|
Re: Longwell UpgradeSteve,
I would try updating all Maven dependencies first. Running the build again with the -U option will do this for you. -- sands fish Application Programmer MIT Libraries Technology Research & Development sands@... E25-131 On Jul 25, 2008, at 7:09 PM, J. Steven Hughes wrote: > Hi all, > > I am upgrading to Longwell 2.5.5. The package build seems to be > successful. However a test run fails with the messages below. > Hopefully this is a simple configuration error. > > thanks > Steve Hughes > > > C:\longwell-2.5.5>mvn package > [INFO] Scanning for projects... > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Building SIMILE Longwell > [INFO] task-segment: [package] > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [surefire:test] > [INFO] Surefire report directory: C:\longwell-2.5.5\target\surefire- > reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > There are no tests to run. > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] [jar:jar] > [INFO] Preparing source:jar > [WARNING] Removing: jar from forked lifecycle, to prevent recursive > invocation. > [INFO] No goals needed for project - skipping > [INFO] [source:jar {execution: attach-sources}] > [INFO] Building jar: C:\longwell-2.5.5\target\longwell-2.5.5- > sources.jar > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] BUILD SUCCESSFUL > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Total time: 21 seconds > [INFO] Finished at: Fri Jul 25 14:34:19 PDT 2008 > [INFO] Final Memory: 14M/31M > [INFO] > ---------------------------------------------------------------------- > -- > > C:\longwell-2.5.5>dir > Volume in drive C has no label. > Volume Serial Number is 1C5B-32CA > > Directory of C:\longwell-2.5.5 > > 07/25/2008 03:55 PM <DIR> . > 07/25/2008 03:55 PM <DIR> .. > 07/25/2008 03:55 PM 46 buildLongwell.bat > 07/25/2008 03:53 PM 128 buildLongwell.bat.bak > 06/12/2008 08:16 AM <DIR> docs > 06/12/2007 05:49 PM 1,492 LICENSE.txt > 09/12/2007 03:08 PM 4,761 longwell > 01/08/2007 05:53 PM 3,988 longwell.bat > 06/12/2008 08:22 AM 9,710 pom.xml > 10/29/2007 06:11 PM 9,727 pom.xml.bak > 06/12/2008 08:21 AM 10,030 pom.xml_org > 06/20/2006 05:35 PM 1,179 README.txt > 06/12/2008 08:16 AM <DIR> src > 06/12/2008 08:23 AM <DIR> target > 9 File(s) 41,061 bytes > 5 Dir(s) 129,543,897,088 bytes free > > C:\longwell-2.5.5>buildlongwell > > C:\longwell-2.5.5>longwell /r c:\aaaontologies\a3ipda\rdf_.rdf > [INFO]: MAVEN_OPTS=-Djava.awt.headless=true -Dslf4j=false > -Dlog4j.configuration= > file:./src/main/webapp/WEB-INF/log4j.properties > -Djava.security.auth.login.confi > g=file:./src/main/resources/jaas.config > -Dlongwell.data=c:\AAAONT~1\A3IPDA\rdf_. > rdf -Xms32M -Xmx256M -Djetty.port=8080 > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'jetty'. > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Building SIMILE Longwell > [INFO] task-segment: [jetty:run] > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Preparing jetty:run > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [jetty:run] > [INFO] Configuring Jetty for project: SIMILE Longwell > [INFO] Webapp source directory = C:\longwell-2.5.5\src\main\webapp > [INFO] web.xml file = C:\longwell-2.5.5\src\main\webapp\WEB-INF > \web.xml > [INFO] Classes = C:\longwell-2.5.5\target\classes > [INFO] Jetty server exiting. > [FATAL ERROR] org.mortbay.jetty.plugin.Jetty6RunMojo#execute() > caused a linkage > error (java.lang.NoClassDefFoundError) and may be out-of-date. Check > the realms: > > [FATAL ERROR] Plugin realm = > app0.child-container[org.mortbay.jetty:maven-jetty- > plugin] > urls[0] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/je > tty/maven-jetty-plugin/6.1.11/maven-jetty-plugin-6.1.11.jar > urls[1] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/je > tty/jetty/6.1.11/jetty-6.1.11.jar > urls[2] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/je > tty/jetty-util/6.1.11/jetty-util-6.1.11.jar > urls[3] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/je > tty/servlet-api-2.5/6.1.11/servlet-api-2.5-6.1.11.jar > urls[4] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/codehaus/p > lexus/plexus-utils/1.1/plexus-utils-1.1.jar > urls[5] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/apache/mav > en/maven-plugin-tools-api/2.0/maven-plugin-tools-api-2.0.jar > urls[6] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/je > tty/jetty-plus/6.1.11/jetty-plus-6.1.11.jar > urls[7] = file:/C:/Documents and > Settings/jshughes/.m2/repository/geronimo-spec/ > geronimo-spec-jta/1.0.1B-rc4/geronimo-spec-jta-1.0.1B-rc4.jar > urls[8] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/je > tty/jetty-naming/6.1.11/jetty-naming-6.1.11.jar > urls[9] = file:/C:/Documents and > Settings/jshughes/.m2/repository/javax/mail/mai > l/1.4/mail-1.4.jar > urls[10] = file:/C:/Documents and > Settings/jshughes/.m2/repository/javax/activat > ion/activation/1.1/activation-1.1.jar > urls[11] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/j > etty/jetty-management/6.1.11/jetty-management-6.1.11.jar > urls[12] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/j > etty/jsp-2.0/6.1.11/jsp-2.0-6.1.11.pom > urls[13] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/slf4j/slf > 4j-api/1.3.1/slf4j-api-1.3.1.jar > urls[14] = file:/C:/Documents and > Settings/jshughes/.m2/repository/tomcat/jasper > -compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar > urls[15] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/eclipse/j > dt/core/3.1.1/core-3.1.1.jar > urls[16] = file:/C:/Documents and > Settings/jshughes/.m2/repository/xerces/xmlPar > serAPIs/2.6.2/xmlParserAPIs-2.6.2.jar > urls[17] = file:/C:/Documents and > Settings/jshughes/.m2/repository/commons-el/co > mmons-el/1.0/commons-el-1.0.jar > urls[18] = file:/C:/Documents and > Settings/jshughes/.m2/repository/xerces/xerces > Impl/2.6.2/xercesImpl-2.6.2.jar > urls[19] = file:/C:/Documents and > Settings/jshughes/.m2/repository/tomcat/jasper > -compiler/5.5.15/jasper-compiler-5.5.15.jar > urls[20] = file:/C:/Documents and > Settings/jshughes/.m2/repository/ant/ant/1.6.5 > /ant-1.6.5.jar > urls[21] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/j > etty/jsp-api-2.0/6.1.11/jsp-api-2.0-6.1.11.jar > urls[22] = file:/C:/Documents and > Settings/jshughes/.m2/repository/tomcat/jasper > -runtime/5.5.15/jasper-runtime-5.5.15.jar > urls[23] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/j > etty/jsp-2.1/6.1.11/jsp-2.1-6.1.11.jar > urls[24] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/j > etty/jsp-api-2.1/6.1.11/jsp-api-2.1-6.1.11.jar > urls[25] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/j > etty/jetty-annotations/6.1.11/jetty-annotations-6.1.11.jar > urls[26] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/apache/ge > ronimo/specs/geronimo-annotation_1.0_spec/1.0/geronimo- > annotation_1.0_spec-1.0.j > ar > urls[27] = file:/C:/Documents and > Settings/jshughes/.m2/repository/org/mortbay/j > etty/start/6.1.11/start-6.1.11.jar > [FATAL ERROR] Container realm = plexus.core > urls[0] = file:/C:/Program Files/Apache Software > Foundation/apache-maven-2.0.9/l > ib/maven-2.0.9-uber.jar > [INFO] > ---------------------------------------------------------------------- > -- > [ERROR] FATAL ERROR > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] org/slf4j/impl/StaticLoggerBinder > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Trace > java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder > at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:57) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.mortbay.log.Slf4jLog.<init>(Slf4jLog.java:64) > at org.mortbay.log.Slf4jLog.<init>(Slf4jLog.java:37) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct > orAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC > onstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance > (Constructor.java:494) > at java.lang.Class.newInstance0(Class.java:350) > at java.lang.Class.newInstance(Class.java:303) > at org.mortbay.log.Log.<clinit>(Log.java:54) > at org.mortbay.component.Container.add(Container.java:200) > at org.mortbay.component.Container.update(Container.java:164) > at org.mortbay.component.Container.update(Container.java:106) > at org.mortbay.jetty.Server.setConnectors(Server.java:158) > at org.mortbay.jetty.Server.addConnector(Server.java:132) > at > org.mortbay.jetty.plugin.Jetty6PluginServer.setConnectors(Jetty6Plugi > nServer.java:76) > at > org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMo > jo.java:332) > at > org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo. > java:307) > at > org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRu > nMojo.java:203) > at > org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184 > ) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:451) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:558) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone > Goal(DefaultLifecycleExecutor.java:512) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:482) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:330) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:291) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:142) > at org.apache.maven.DefaultMaven.doExecute > (DefaultMaven.java:336) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: > 129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.codehaus.classworlds.Launcher.launchEnhanced > (Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java: > 255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Total time: 17 seconds > [INFO] Finished at: Fri Jul 25 15:55:54 PDT 2008 > [INFO] Final Memory: 12M/31M > [INFO] > ---------------------------------------------------------------------- > -- > Exception in thread "Shutdown" java.lang.NoClassDefFoundError > at org.mortbay.jetty.Server$ShutdownHookThread.run > (Server.java:550) > > C:\longwell-2.5.5> > > > _______________________________________________ > General mailing list > General@... > http://simile.mit.edu/mailman/listinfo/general _______________________________________________ General mailing list General@... http://simile.mit.edu/mailman/listinfo/general |
|
|
|
|
|
Re: Longwell Upgrade> It appears to have trouble setting up logging for the Jetty web > server, but all of those dependencies should be pulled in > automatically and shouldn't have conflicts, in a clean setup. This > is the offending package: http://www.slf4j.org/ > I note that the trunk version of Longwell has this in its pom.xml file: - <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.0.1</version> </dependency> Version 1.0.1 of slf4j is *very* old and indeed, if memory serves me right, there is a checksum error with this package on the Maven repository [1]. You could try changing the version number shown above from 1.0.1 to 1.5.2 and see if that helps. I think Longwell's development has all but stopped now and as the libraries it depends on get more and more out of sync you will see this type of problem increase. Regards, David Legg [1] http://repo1.maven.org/maven2/org/slf4j/ _______________________________________________ General mailing list General@... http://simile.mit.edu/mailman/listinfo/general |
|
|
Re: Longwell UpgradeHi Steve,
J. Steven Hughes wrote: > Hi all, > > I am upgrading to Longwell 2.5.5. The package build seems to be > successful. However a test run fails with the messages below. > Hopefully this is a simple configuration error. > > C:\longwell-2.5.5>longwell /r c:\aaaontologies\a3ipda\rdf_.rdf > [INFO]: MAVEN_OPTS=-Djava.awt.headless=true -Dslf4j=false > -Dlog4j.configuration= > file:./src/main/webapp/WEB-INF/log4j.properties > -Djava.security.auth.login.confi > g=file:./src/main/resources/jaas.config > -Dlongwell.data=c:\AAAONT~1\A3IPDA\rdf_. > rdf -Xms32M -Xmx256M -Djetty.port=8080 > I had a similar problem a while ago. It was helpfully pointed out to me that the longwell.bat file should say -Dslf4j=true See here for more info http://simile.mit.edu/issues/browse/LONGWELL-86 Regards, David Legg _______________________________________________ General mailing list General@... http://simile.mit.edu/mailman/listinfo/general |
|
|
Re: Longwell UpgradeThis seemed to do the trick.
Many thanks, Steve Hughes At 03:28 AM 7/30/2008, David Legg wrote: >Hi Steve, > >J. Steven Hughes wrote: > > Hi all, > > > > I am upgrading to Longwell 2.5.5. The package build seems to be > > successful. However a test run fails with the messages below. > > Hopefully this is a simple configuration error. > > > > C:\longwell-2.5.5>longwell /r c:\aaaontologies\a3ipda\rdf_.rdf > > [INFO]: MAVEN_OPTS=-Djava.awt.headless=true -Dslf4j=false > > -Dlog4j.configuration= > > file:./src/main/webapp/WEB-INF/log4j.properties > > -Djava.security.auth.login.confi > > g=file:./src/main/resources/jaas.config > > -Dlongwell.data=c:\AAAONT~1\A3IPDA\rdf_. > > rdf -Xms32M -Xmx256M -Djetty.port=8080 > > > > >I had a similar problem a while ago. It was helpfully pointed out to me >that the longwell.bat file should say -Dslf4j=true > >See here for more info http://simile.mit.edu/issues/browse/LONGWELL-86 > >Regards, >David Legg > >_______________________________________________ >General mailing list >General@... >http://simile.mit.edu/mailman/listinfo/general _______________________________________________ General mailing list General@... http://simile.mit.edu/mailman/listinfo/general |
| Free Forum Powered by Nabble | Forum Help |