NutzCN Logo
问答 openshif nutz项目部署错误
发布于 3132天前 作者 qq_b76927b4 1473 次浏览 复制 上一个帖子 下一个帖子
标签:

2016-04-19 09:02:10,526 [INFO][org.nutz.mvc.NutFilter] - NutFilter[nutz] starting ...
2016-04-19 09:02:10,621 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=file:/var/lib/openshift/571301f50c1e6632030000bc/jbossews/work/Catalina/localhost/_/WEB-INF/lib/nutz-1.b.52.jar], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,664 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,733 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=/var/lib/openshift/571301f50c1e6632030000bc/jbossews//bin/commons-logging-tomcat-juli.jar], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,736 [DEBUG][org.nutz.resource.Scans] - Locations for Scans:
[JarResourceLocation [jarPath=/var/lib/openshift/571301f50c1e6632030000bc/jbossews//bin/bootstrap.jar], FileSystemResourceLocation [root=/var/lib/openshift/571301f50c1e6632030000bc/jbossews], ErrorResourceLocation [loc=/var/lib/openshift/571301f50c1e6632030000bc/jbossews//bin/commons-logging-tomcat-juli.jar], ErrorResourceLocation [loc=file:/var/lib/openshift/571301f50c1e6632030000bc/jbossews/work/Catalina/localhost/_/WEB-INF/lib/nutz-1.b.52.jar], FileSystemResourceLocation [root=/var/lib/openshift/571301f50c1e6632030000bc/jbossews/work/Catalina/localhost/_/WEB-INF/classes], JarResourceLocation [jarPath=/var/lib/openshift/571301f50c1e6632030000bc/jbossews//bin/tomcat-juli.jar], ErrorResourceLocation [loc=]]
2016-04-19 09:02:10,736 [WARN][org.nutz.resource.Scans] - /WEB-INF/classes/ NOT found?!
2016-04-19 09:02:10,737 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,737 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,737 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,738 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,738 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,738 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,738 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,739 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,739 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,739 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,739 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,740 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,740 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,740 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,742 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,743 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,743 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,743 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,743 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,744 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,744 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,744 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,744 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,823 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,824 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,824 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,824 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,824 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,825 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,825 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,825 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,825 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,825 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,826 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,826 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,830 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,836 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,836 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,836 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,836 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,837 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,837 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,837 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,837 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,838 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,838 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,838 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,839 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,839 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,846 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,847 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,847 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,847 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,847 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,847 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,848 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,853 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,854 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,855 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,856 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,864 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,865 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,865 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,865 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,865 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,866 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,866 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,866 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,866 [DEBUG][org.nutz.resource.impl.ErrorResourceLocation] - null scan path object
2016-04-19 09:02:10,866 [INFO][org.nutz.resource.impl.ErrorResourceLocation] - ErrorResourceLocation [loc=null], maybe it is in your classpath, but not exist
2016-04-19 09:02:10,920 [DEBUG][org.nutz.resource.Scans] - Locations for Scans:
[JarResourceLocation [jarPath=/var/lib/openshift/571301f50c1e6632030000bc/jbossews//bin/bootstrap.jar], FileSystemResourceLocation [root=/var/lib/openshift/571301f50c1e6632030000bc/jbossews], ErrorResourceLocation [loc=/var/lib/openshift/571301f50c1e6632030000bc/jbossews//bin/commons-logging-tomcat-juli.jar], ErrorResourceLocation [loc=file:/var/lib/openshift/571301f50c1e6632030000bc/jbossews/work/Catalina/localhost/_/WEB-INF/lib/nutz-1.b.52.jar], FileSystemResourceLocation [root=/var/lib/openshift/571301f50c1e6632030000bc/jbossews/work/Catalina/localhost/_/WEB-INF/classes], JarResourceLocation [jarPath=/var/lib/openshift/571301f50c1e6632030000bc/jbossews//bin/tomcat-juli.jar], ErrorResourceLocation [loc=], ErrorResourceLocation [loc=null]]
2016-04-19 09:02:11,280 [INFO][org.nutz.mvc.impl.NutLoading] - Nutz Version : 1.b.52
2016-04-19 09:02:11,297 [INFO][org.nutz.mvc.impl.NutLoading] - Nutz.Mvc[nutz] is initializing ...
2016-04-19 09:02:11,298 [INFO][org.nutz.mvc.config.AbstractNutConfig] - /WEB-INF/ not Found?!
2016-04-19 09:02:11,632 [DEBUG][org.nutz.resource.Scans] - Found 5 resource by src( config ) , regex( ^(.+[.])(js|json)$ )
2016-04-19 09:02:12,352 [DEBUG][org.nutz.resource.Scans] - Found 181 resource by src( com/stargis/ ) , regex( ^.+[.]class$ )
2016-04-19 09:02:16,141 [DEBUG][org.nutz.castor.Castors] - Using 91 castor for Castors
2016-04-19 09:02:16,153 [INFO][org.nutz.ioc.loader.annotation.AnnotationIocLoader] - Scan complete ! Found 64 classes in 1 base-packages!
beans = ["trailAction", "dictService", "deviceService", "checkDao", "geofenceService", "userService", "videoAction", "safeDao", "videoService", "layerService", "trailService", "resourceAction", "indexAction", "stationService", "taskService", "cityAqiService", "taskAction", "shiroUtils", "repairRecordDao", "deviceDao", "repairRecordAction", "taskManageAction", "dictAction", "safeService", "userAction", "fileAction", "cityService", "checkAction", "geofenceDao", "staffDao", "configAction", "cityAqiDao", "deviceAction", "checkService", "unitAction", "busService", "layerAction", "imagesUtil", "stationDao", "geofenceAction", "userInfoJob", "trailDao", "picService", "staffAction", "userLogAction", "userDao", "picAction", "cityDao", "picDao", "loginAction", "dictDao", "staffService", "roleAction", "nutDaoRealm", "airJob", "videoDao", "gpsRealDao", "restService", "layerDao", "taskDao", "safeAction", "loadTask", "gpsRealService", "repairRecordService"]
2016-04-19 09:02:16,174 [DEBUG][org.nutz.integration.quartz.QuartzIocLoader] - Quartz Ioc Define as:
{
"scheduler" :{
"type" :"org.quartz.Scheduler",
"factory" :"org.quartz.impl.StdSchedulerFactory#getDefaultScheduler",
"events" :{
"create" :"start",
"depose" :"shutdown"
},
"fields" :{
"jobFactory" :{
"refer" :"jobFactory"
}
}
},
"jobFactory" :{
"type" :"org.nutz.integration.quartz.NutQuartzJobFactory",
"args" :[{
"refer" :"$ioc"
}]
},
"nutQuartzCronJobFactory" :{
"type" :"org.nutz.integration.quartz.NutQuartzCronJobFactory",
"events" :{
"create" :"init"
},
"fields" :{
"scheduler" :{
"refer" :"scheduler"
},
"conf" :{
"refer" :"conf"
}
}
}
}
2016-04-19 09:02:16,344 [INFO][org.nutz.mvc.impl.NutLoading] - Build URL mapping by com.stargis.core.UrlMappingSet ...
2016-04-19 09:02:16,432 [DEBUG][org.nutz.resource.Scans] - Found 1 resource by src( mvc/mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
2016-04-19 09:02:16,822 [DEBUG][org.nutz.resource.Scans] - Found 111 resource by src( com/stargis/modules/ ) , regex( ^.+[.]class$ )
2016-04-19 09:02:17,835 [INFO][org.nutz.filepool.NutFilePool] - Init file-pool by: null/temp/ [2000]
2016-04-19 09:02:17,837 [DEBUG][org.nutz.filepool.NutFilePool] - file-pool.home: '/var/lib/openshift/571301f50c1e6632030000bc/jbossews/null/temp'
2016-04-19 09:02:17,920 [INFO][org.nutz.filepool.NutFilePool] - file-pool.cursor: 0
2016-04-19 09:02:19,886 [INFO][org.nutz.filepool.NutFilePool] - Init file-pool by: /WEB-INF/tmp [2000]
2016-04-19 09:02:19,892 [ERROR][org.nutz.mvc.impl.NutLoading] - Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born 'org.nutz.mvc.upload.UploadAdaptor'
by args: [
@(/WEB-INF/tmp)] becasue:
java.lang.RuntimeException: '/WEB-INF/tmp' should be a directory!
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:931)
at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:259)
at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:37)
at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:23)
at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:34)
at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:47)
at com.stargis.core.UrlMappingSet.add(UrlMappingSet.java:24)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:187)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:102)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter.init(NutFilter.java:78)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1880)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: '/WEB-INF/tmp' should be a directory!
at org.nutz.lang.Lang.makeThrow(Lang.java:99)
at org.nutz.lang.Files.createDirIfNoExists(Files.java:401)
at org.nutz.filepool.NutFilePool.(NutFilePool.java:27)
at org.nutz.mvc.upload.UploadingContext.(UploadingContext.java:30)
at org.nutz.mvc.upload.UploadAdaptor.(UploadAdaptor.java:76)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
... 29 more

5 回复

@qq_b76927b4 设置为解开war包

@wendal(wendal) 能详细一点吗,或者给个链接,新手不太懂,谢谢

@wendal(wendal) 谢谢

添加回复
请先登陆
回到顶部