Hi All,
I'm trying to deploy OFBiz on external tomcat now. I'm currently following the instructions on https://cwiki.apache.org/confluence/display/OFBTECH/Tomcat to install OFBiz. However, when I execute "java -jar ofbiz.jar -setup tomcat6", I get an error. I attached the console output here: Start.java using configuration file org/ofbiz/base/start/setup.properties Set OFBIZ_HOME to - /home/ubuntu/ofbiz-tomcat/ofbiz Admin socket not configured; set to port 0 Loaded ESAPI properties from classpath ========Master Configuration======== | LogEncodingRequired=false | LogLevel=ALL | MaxUploadFileBytes=500000000 | ResponseContentType=text/html; charset=UTF-8 | ValidExtensions=.zip,.pdf,.doc,.docx,.ppt,.pptx,.tar,.gz,.tgz,.rar,.war,.jar,.ear,.xls,.rtf,.properties,.java,.class,.txt,.xml,.jsp,.jsf,.exe,.dll | Validator.AccountName=^[a-zA-Z0-9]{3,20}$ | Validator.CreditCard=^(\d{4}[- ]?){3}\d{4}$ | Validator.DirectoryName=^[a-zA-Z0-9.-\_ ]{0,255}$ | Validator.Email=^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[a-zA-Z]{2,4}$ | Validator.FileName=^[a-zA-Z0-9.\-_ ]{0,255}$ | Validator.HTTPCookieName=^[a-zA-Z0-9\-_]{0,32}$ | Validator.HTTPCookieValue=^[a-zA-Z0-9\-\/+=_ ]*$ | Validator.HTTPHeaderName=^[a-zA-Z0-9\-_]{0,32}$ | Validator.HTTPHeaderValue=^[a-zA-Z0-9()\-=\*\.\?;,+\/:&_ ]*$ | Validator.HTTPParameterName=^[a-zA-Z0-9_]{0,32}$ | Validator.HTTPParameterValue=^[a-zA-Z0-9.\-\/+=_ ]*$ | Validator.IPAddress=^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ | Validator.Redirect=^\/test.*$ | Validator.RoleName=^[a-z]{1,20}$ | Validator.SSN=^(?!000)([0-6]\d{2}|7([0-6]\d|7[012]))([ -]?)(?!00)\d\d\3(?!0000)\d{4}$ | Validator.SafeString=^[p{L}p{N}.]{0,1024}$ | Validator.SystemCommand=^[a-zA-Z\-\/]{0,64}$ | Validator.URL=^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\:\'\/\\\+=&%\$#_]*)?$ | event.test.actions=disable,log | event.test.count=2 | event.test.interval=10 | org.owasp.esapi.errors.IntegrityException.actions=log,disable,logout | org.owasp.esapi.errors.IntegrityException.count=10 | org.owasp.esapi.errors.IntegrityException.interval=5 | org.owasp.esapi.errors.IntrusionException.actions=log,disable,logout | org.owasp.esapi.errors.IntrusionException.count=1 | org.owasp.esapi.errors.IntrusionException.interval=1 2013-05-14 20:19:58,730 (main) [ ContainerLoader.java:76 :INFO ] [Startup] Loading containers from /home/ubuntu/ofbiz-tomcat/ofbiz/specialpurpose/appserver/config/ofbiz-containers.xml for loaders null 2013-05-14 20:20:03,063 (main) [ ContainerLoader.java:99 :INFO ] Loading container: component-container Warning : Module classpath component '/usr/java/packages/lib/amd64' is not valid and will be ignored... Warning : Module classpath component '/usr/lib/jni' is not valid and will be ignored... 2013-05-14 20:20:03,131 (main) [ ComponentContainer.java:180:INFO ] Auto-Loading component directory : [/home/ubuntu/ofbiz-tomcat/ofbiz/framework] 2013-05-14 20:20:03,292 (main) [ ComponentContainer.java:241:INFO ] Loading component : [base] 2013-05-14 20:20:03,418 (main) [ ComponentContainer.java:241:INFO ] Loading component : [geronimo] 2013-05-14 20:20:03,598 (main) [ ComponentContainer.java:241:INFO ] Loading component : [sql] 2013-05-14 20:20:03,643 (main) [ ComponentContainer.java:241:INFO ] Loading component : [entity] 2013-05-14 20:20:03,784 (main) [ ComponentContainer.java:241:INFO ] Loading component : [security] 2013-05-14 20:20:03,871 (main) [ ComponentContainer.java:241:INFO ] Loading component : [datafile] 2013-05-14 20:20:03,986 (main) [ ComponentContainer.java:241:INFO ] Loading component : [minilang] 2013-05-14 20:20:04,123 (main) [ ComponentContainer.java:241:INFO ] Loading component : [common] 2013-05-14 20:20:04,224 (main) [ ComponentContainer.java:241:INFO ] Loading component : [service] 2013-05-14 20:20:04,461 (main) [ ComponentContainer.java:241:INFO ] Loading component : [catalina] 2013-05-14 20:20:04,544 (main) [ ComponentContainer.java:241:INFO ] Loading component : [entityext] 2013-05-14 20:20:04,592 (main) [ ComponentContainer.java:241:INFO ] Loading component : [bi] 2013-05-14 20:20:04,630 (main) [ ComponentContainer.java:241:INFO ] Loading component : [webapp] 2013-05-14 20:20:04,681 (main) [ ComponentContainer.java:241:INFO ] Loading component : [widget] 2013-05-14 20:20:04,739 (main) [ ComponentContainer.java:241:INFO ] Loading component : [testtools] 2013-05-14 20:20:04,809 (main) [ ComponentContainer.java:241:INFO ] Loading component : [webtools] 2013-05-14 20:20:04,879 (main) [ ComponentContainer.java:241:INFO ] Loading component : [images] 2013-05-14 20:20:04,889 (main) [ ComponentContainer.java:180:INFO ] Auto-Loading component directory : [/home/ubuntu/ofbiz-tomcat/ofbiz/themes] 2013-05-14 20:20:04,977 (main) [ ComponentContainer.java:241:INFO ] Loading component : [bizznesstime] 2013-05-14 20:20:05,035 (main) [ ComponentContainer.java:241:INFO ] Loading component : [bluelight] 2013-05-14 20:20:05,130 (main) [ ComponentContainer.java:241:INFO ] Loading component : [droppingcrumbs] 2013-05-14 20:20:05,187 (main) [ ComponentContainer.java:241:INFO ] Loading component : [flatgrey] 2013-05-14 20:20:05,252 (main) [ ComponentContainer.java:241:INFO ] Loading component : [multiflex] 2013-05-14 20:20:05,318 (main) [ ComponentContainer.java:241:INFO ] Loading component : [tomahawk] 2013-05-14 20:20:05,318 (main) [ ComponentContainer.java:180:INFO ] Auto-Loading component directory : [/home/ubuntu/ofbiz-tomcat/ofbiz/applications] 2013-05-14 20:20:05,376 (main) [ ComponentContainer.java:241:INFO ] Loading component : [party] 2013-05-14 20:20:05,440 (main) [ ComponentContainer.java:241:INFO ] Loading component : [securityext] 2013-05-14 20:20:05,540 (main) [ ComponentContainer.java:241:INFO ] Loading component : [content] 2013-05-14 20:20:05,657 (main) [ ComponentContainer.java:241:INFO ] Loading component : [workeffort] 2013-05-14 20:20:05,741 (main) [ ComponentContainer.java:241:INFO ] Loading component : [product] 2013-05-14 20:20:05,801 (main) [ ComponentContainer.java:241:INFO ] Loading component : [manufacturing] 2013-05-14 20:20:05,910 (main) [ ComponentContainer.java:241:INFO ] Loading component : [accounting] 2013-05-14 20:20:05,922 (main) [ ComponentContainer.java:290:WARN ] Location '/home/ubuntu/ofbiz-tomcat/ofbiz/applications/accounting/lib/securepay' does not exist 2013-05-14 20:20:05,922 (main) [ ComponentContainer.java:290:WARN ] Location '/home/ubuntu/ofbiz-tomcat/ofbiz/applications/accounting/lib/cybersource' does not exist 2013-05-14 20:20:05,923 (main) [ ComponentContainer.java:290:WARN ] Location '/home/ubuntu/ofbiz-tomcat/ofbiz/applications/accounting/lib/worldpay' does not exist 2013-05-14 20:20:05,923 (main) [ ComponentContainer.java:290:WARN ] Location '/home/ubuntu/ofbiz-tomcat/ofbiz/applications/accounting/lib/worldpay' does not exist 2013-05-14 20:20:05,985 (main) [ ComponentContainer.java:241:INFO ] Loading component : [humanres] 2013-05-14 20:20:06,028 (main) [ ComponentContainer.java:241:INFO ] Loading component : [order] 2013-05-14 20:20:06,062 (main) [ ComponentContainer.java:241:INFO ] Loading component : [marketing] 2013-05-14 20:20:06,084 (main) [ ComponentContainer.java:241:INFO ] Loading component : [commonext] 2013-05-14 20:20:06,085 (main) [ ComponentContainer.java:180:INFO ] Auto-Loading component directory : [/home/ubuntu/ofbiz-tomcat/ofbiz/specialpurpose] 2013-05-14 20:20:06,163 (main) [ ComponentContainer.java:241:INFO ] Loading component : [appservers] 2013-05-14 20:20:06,217 (main) [ ComponentContainer.java:241:INFO ] Loading component : [ecommerce] 2013-05-14 20:20:06,242 (main) [ ComponentContainer.java:241:INFO ] Loading component : [pos] 2013-05-14 20:20:06,286 (main) [ ComponentContainer.java:241:INFO ] Loading component : [hhfacility] 2013-05-14 20:20:06,313 (main) [ ComponentContainer.java:241:INFO ] Loading component : [assetmaint] 2013-05-14 20:20:06,347 (main) [ ComponentContainer.java:241:INFO ] Loading component : [cmssite] 2013-05-14 20:20:06,378 (main) [ ComponentContainer.java:241:INFO ] Loading component : [projectmgr] 2013-05-14 20:20:06,417 (main) [ ComponentContainer.java:241:INFO ] Loading component : [scrum] 2013-05-14 20:20:06,490 (main) [ ComponentContainer.java:241:INFO ] Loading component : [oagis] 2013-05-14 20:20:06,518 (main) [ ComponentContainer.java:241:INFO ] Loading component : [googlebase] 2013-05-14 20:20:06,545 (main) [ ComponentContainer.java:241:INFO ] Loading component : [googlecheckout] 2013-05-14 20:20:06,588 (main) [ ComponentContainer.java:241:INFO ] Loading component : [ebay] 2013-05-14 20:20:06,610 (main) [ ComponentContainer.java:241:INFO ] Loading component : [ebaystore] 2013-05-14 20:20:06,631 (main) [ ComponentContainer.java:241:INFO ] Loading component : [myportal] 2013-05-14 20:20:06,648 (main) [ ComponentContainer.java:241:INFO ] Loading component : [ldap] 2013-05-14 20:20:06,674 (main) [ ComponentContainer.java:241:INFO ] Loading component : [webpos] 2013-05-14 20:20:06,707 (main) [ ComponentContainer.java:241:INFO ] Loading component : [birt] 2013-05-14 20:20:06,766 (main) [ ComponentContainer.java:241:INFO ] Loading component : [example] 2013-05-14 20:20:06,781 (main) [ ComponentContainer.java:241:INFO ] Loading component : [exampleext] 2013-05-14 20:20:06,781 (main) [ ComponentContainer.java:180:INFO ] Auto-Loading component directory : [/home/ubuntu/ofbiz-tomcat/ofbiz/hot-deploy] 2013-05-14 20:20:06,792 (main) [ ComponentContainer.java:149:INFO ] All components loaded 2013-05-14 20:20:06,793 (main) [ ContainerLoader.java:102:INFO ] Loaded container: component-container 2013-05-14 20:20:06,793 (main) [ ContainerLoader.java:99 :INFO ] Loading container: generate-container 2013-05-14 20:20:07,704 (main) [ ContainerLoader.java:102:INFO ] Loaded container: generate-container Exception in thread "main" java.lang.NullPointerException at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:115) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:247) at org.ofbiz.base.start.Start.init(Start.java:215) at org.ofbiz.base.start.Start.main(Start.java:112) I cannot find anything related. Could anyone help me? Thanks a lot!!! Weikun |
Free forum by Nabble | Edit this page |