OFBiz on JBoss 5.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

OFBiz on JBoss 5.1

fhornain
Dear *,

I am quite new to OFBiz and would like to use it for a production Project. Why ? Because, i do not like to reinvent the wheel.

So I am using apache-ofbiz-09.04 and would like to run it in JBoss 5.1 on Fedora 13 with java-1.6.0-openjdk-1.6.0.0-37.b17.fc13.x86_64 and java-1.6.0-openjdk-devel-1.6.0.0-37.b17.fc13.x86_64.

Indeed I followed the procedure mentioned at the following URL :
https://cwiki.apache.org/confluence/display/OFBTECH/Deploying+OFBiz+9.04+on+JBoss+5.1.0

But I still have a little problem - see below -. So could someone give me a hand please ?
Thanks a lot in advance for your help.

BR
Frederic ;)  

[fhornain@localhost apache-ofbiz-09.04]$ java -jar ofbiz.jar -setup jboss422
Set OFBIZ_HOME to - /mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04
Admin socket not configured; set to port 0
2010-05-29 13:59:55,474 (main) [    ContainerLoader.java:51 :INFO ] [Startup] Loading containers...
2010-05-29 13:59:55,631 (main) [ ComponentContainer.java:158:INFO ] Auto-Loading component directory : [/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework]
2010-05-29 13:59:55,679 (main) [ ComponentContainer.java:217:INFO ] Loading component : [geronimo]
2010-05-29 13:59:55,698 (main) [ ComponentContainer.java:217:INFO ] Loading component : [entity]
2010-05-29 13:59:55,726 (main) [ ComponentContainer.java:217:INFO ] Loading component : [catalina]
2010-05-29 13:59:55,760 (main) [ ComponentContainer.java:217:INFO ] Loading component : [security]
2010-05-29 13:59:55,775 (main) [ ComponentContainer.java:217:INFO ] Loading component : [datafile]
2010-05-29 13:59:55,789 (main) [ ComponentContainer.java:217:INFO ] Loading component : [minilang]
2010-05-29 13:59:55,814 (main) [ ComponentContainer.java:217:INFO ] Loading component : [common]
2010-05-29 13:59:55,840 (main) [ ComponentContainer.java:217:INFO ] Loading component : [service]
2010-05-29 13:59:55,858 (main) [ ComponentContainer.java:217:INFO ] Loading component : [entityext]
2010-05-29 13:59:55,875 (main) [ ComponentContainer.java:217:INFO ] Loading component : [bi]
2010-05-29 13:59:55,890 (main) [ ComponentContainer.java:217:INFO ] Loading component : [webapp]
2010-05-29 13:59:55,916 (main) [ ComponentContainer.java:217:INFO ] Loading component : [guiapp]
2010-05-29 13:59:55,941 (main) [ ComponentContainer.java:217:INFO ] Loading component : [widget]
2010-05-29 13:59:55,954 (main) [ ComponentContainer.java:217:INFO ] Loading component : [appservers]
2010-05-29 13:59:55,978 (main) [ ComponentContainer.java:217:INFO ] Loading component : [testtools]
2010-05-29 13:59:56,007 (main) [ ComponentContainer.java:217:INFO ] Loading component : [webtools]
2010-05-29 13:59:56,026 (main) [ ComponentContainer.java:217:INFO ] Loading component : [webslinger]
2010-05-29 13:59:56,044 (main) [ ComponentContainer.java:217:INFO ] Loading component : [images]
2010-05-29 13:59:56,077 (main) [ ComponentContainer.java:217:INFO ] Loading component : [example]
2010-05-29 13:59:56,087 (main) [ ComponentContainer.java:217:INFO ] Loading component : [exampleext]
2010-05-29 13:59:56,091 (main) [ ComponentContainer.java:158:INFO ] Auto-Loading component directory : [/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/themes]
2010-05-29 13:59:56,100 (main) [ ComponentContainer.java:217:INFO ] Loading component : [bluelight]
2010-05-29 13:59:56,119 (main) [ ComponentContainer.java:217:INFO ] Loading component : [multiflex]
2010-05-29 13:59:56,132 (main) [ ComponentContainer.java:217:INFO ] Loading component : [bizznesstime]
2010-05-29 13:59:56,141 (main) [ ComponentContainer.java:217:INFO ] Loading component : [flatgrey]
2010-05-29 13:59:56,150 (main) [ ComponentContainer.java:217:INFO ] Loading component : [smoothfeather]
2010-05-29 13:59:56,151 (main) [ ComponentContainer.java:158:INFO ] Auto-Loading component directory : [/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/applications]
2010-05-29 13:59:56,180 (main) [ ComponentContainer.java:217:INFO ] Loading component : [commonext]
2010-05-29 13:59:56,205 (main) [ ComponentContainer.java:217:INFO ] Loading component : [party]
2010-05-29 13:59:56,225 (main) [ ComponentContainer.java:217:INFO ] Loading component : [securityext]
2010-05-29 13:59:56,250 (main) [ ComponentContainer.java:217:INFO ] Loading component : [content]
2010-05-29 13:59:56,268 (main) [ ComponentContainer.java:217:INFO ] Loading component : [workeffort]
2010-05-29 13:59:56,298 (main) [ ComponentContainer.java:217:INFO ] Loading component : [product]
2010-05-29 13:59:56,322 (main) [ ComponentContainer.java:217:INFO ] Loading component : [manufacturing]
2010-05-29 13:59:56,352 (main) [ ComponentContainer.java:217:INFO ] Loading component : [accounting]
2010-05-29 13:59:56,354 (main) [ ComponentContainer.java:256:WARN ] Location '/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/applications/accounting/lib/cybersource' does not exist
2010-05-29 13:59:56,355 (main) [ ComponentContainer.java:256:WARN ] Location '/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/applications/accounting/lib/worldpay' does not exist
2010-05-29 13:59:56,371 (main) [ ComponentContainer.java:217:INFO ] Loading component : [humanres]
2010-05-29 13:59:56,391 (main) [ ComponentContainer.java:217:INFO ] Loading component : [order]
2010-05-29 13:59:56,416 (main) [ ComponentContainer.java:217:INFO ] Loading component : [marketing]
2010-05-29 13:59:56,417 (main) [ ComponentContainer.java:158:INFO ] Auto-Loading component directory : [/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/specialpurpose]
2010-05-29 13:59:56,448 (main) [ ComponentContainer.java:217:INFO ] Loading component : [ecommerce]
2010-05-29 13:59:56,470 (main) [ ComponentContainer.java:217:INFO ] Loading component : [pos]
2010-05-29 13:59:56,492 (main) [ ComponentContainer.java:217:INFO ] Loading component : [hhfacility]
2010-05-29 13:59:56,508 (main) [ ComponentContainer.java:217:INFO ] Loading component : [assetmaint]
2010-05-29 13:59:56,525 (main) [ ComponentContainer.java:217:INFO ] Loading component : [cmssite]
2010-05-29 13:59:56,540 (main) [ ComponentContainer.java:217:INFO ] Loading component : [projectmgr]
2010-05-29 13:59:56,557 (main) [ ComponentContainer.java:217:INFO ] Loading component : [oagis]
2010-05-29 13:59:56,577 (main) [ ComponentContainer.java:217:INFO ] Loading component : [googlebase]
2010-05-29 13:59:56,589 (main) [ ComponentContainer.java:217:INFO ] Loading component : [ebay]
2010-05-29 13:59:56,600 (main) [ ComponentContainer.java:217:INFO ] Loading component : [myportal]
2010-05-29 13:59:56,608 (main) [ ComponentContainer.java:217:INFO ] Loading component : [webpos]
2010-05-29 13:59:56,609 (main) [ ComponentContainer.java:158:INFO ] Auto-Loading component directory : [/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/hot-deploy]
2010-05-29 13:59:56,618 (main) [ ComponentContainer.java:127:INFO ] All components loaded
2010-05-29 13:59:56,656 (main) [    ContainerLoader.java:96 :INFO ] [Startup] Starting containers...
2010-05-29 13:59:56,695 (main) [  GenerateContainer.java:456:INFO ] Parsing template : /mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework/appserver/templates/jboss422/application.xml
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
2010-05-29 13:59:56,849 (main) [   FreeMarkerWorker.java:109:INFO ] loading properties: file:/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework/webapp/config/freemarkerTransforms.properties
2010-05-29 13:59:56,863 (main) [   FreeMarkerWorker.java:109:INFO ] loading properties: file:/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework/widget/config/freemarkerTransforms.properties
2010-05-29 13:59:56,869 (main) [   FreeMarkerWorker.java:109:INFO ] loading properties: file:/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/applications/content/config/freemarkerTransforms.properties
2010-05-29 13:59:57,041 (main) [  GenerateContainer.java:456:INFO ] Parsing template : /mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework/appserver/templates/jboss422/run.conf
2010-05-29 13:59:57,050 (main) [  GenerateContainer.java:456:INFO ] Parsing template : /mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework/appserver/templates/jboss422/build.xml
org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.appservers.GenerateContainer (java.lang.StringIndexOutOfBoundsException: String index out of range: -3 (String index out of range: -3))
        at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:103)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
        at org.ofbiz.base.start.Start.startServer(Start.java:312)
        at org.ofbiz.base.start.Start.start(Start.java:316)
        at org.ofbiz.base.start.Start.main(Start.java:399)
org.ofbiz.base.container.ContainerException: java.lang.StringIndexOutOfBoundsException: String index out of range: -3 (String index out of range: -3)
        at org.ofbiz.appservers.GenerateContainer.parseTemplate(GenerateContainer.java:477)
        at org.ofbiz.appservers.GenerateContainer.generateFiles(GenerateContainer.java:368)
        at org.ofbiz.appservers.GenerateContainer.start(GenerateContainer.java:96)
        at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
        at org.ofbiz.base.start.Start.startServer(Start.java:312)
        at org.ofbiz.base.start.Start.start(Start.java:316)
        at org.ofbiz.base.start.Start.main(Start.java:399)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -3
        at java.lang.String.substring(String.java:1949)
        at java.lang.String.substring(String.java:1916)
        at freemarker.core.StringBuiltins$substringBI$1.exec(StringBuiltins.java:211)
        at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
        at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        at freemarker.core.ParentheticalExpression._getAsTemplateModel(ParentheticalExpression.java:75)
        at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        at freemarker.core.Expression.getStringValue(Expression.java:93)
        at freemarker.core.StringBuiltins$StringBuiltIn._getAsTemplateModel(StringBuiltins.java:71)
        at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        at freemarker.core.Assignment.accept(Assignment.java:90)
        at freemarker.core.Environment.visit(Environment.java:209)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:209)
        at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
        at freemarker.core.Environment.visit(Environment.java:416)
        at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
        at freemarker.core.Environment.visit(Environment.java:209)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:209)
        at freemarker.core.Environment.process(Environment.java:189)
        at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:210)
        at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:172)
        at org.ofbiz.appservers.GenerateContainer.parseTemplate(GenerateContainer.java:475)
        ... 7 more
org.ofbiz.base.container.ContainerException: java.lang.StringIndexOutOfBoundsException: String index out of range: -3 (String index out of range: -3)
        at org.ofbiz.appservers.GenerateContainer.parseTemplate(GenerateContainer.java:477)
        at org.ofbiz.appservers.GenerateContainer.generateFiles(GenerateContainer.java:368)
        at org.ofbiz.appservers.GenerateContainer.start(GenerateContainer.java:96)
        at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
        at org.ofbiz.base.start.Start.startServer(Start.java:312)
        at org.ofbiz.base.start.Start.start(Start.java:316)
        at org.ofbiz.base.start.Start.main(Start.java:399)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -3
        at java.lang.String.substring(String.java:1949)
        at java.lang.String.substring(String.java:1916)
        at freemarker.core.StringBuiltins$substringBI$1.exec(StringBuiltins.java:211)
        at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
        at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        at freemarker.core.ParentheticalExpression._getAsTemplateModel(ParentheticalExpression.java:75)
        at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        at freemarker.core.Expression.getStringValue(Expression.java:93)
        at freemarker.core.StringBuiltins$StringBuiltIn._getAsTemplateModel(StringBuiltins.java:71)
        at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
        at freemarker.core.Assignment.accept(Assignment.java:90)
        at freemarker.core.Environment.visit(Environment.java:209)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:209)
        at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
        at freemarker.core.Environment.visit(Environment.java:416)
        at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
        at freemarker.core.Environment.visit(Environment.java:209)
        at freemarker.core.MixedContent.accept(MixedContent.java:92)
        at freemarker.core.Environment.visit(Environment.java:209)
        at freemarker.core.Environment.process(Environment.java:189)
        at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:210)
        at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:172)
        at org.ofbiz.appservers.GenerateContainer.parseTemplate(GenerateContainer.java:475)
        ... 7 more
2010-05-29 13:59:57,118 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:114:INFO ] Shutting down containers
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz on JBoss 5.1

BJ Freeman
looks like you have done some modification.
like removed the accounting folder but not the load command for it.
the other looks like classpath problems or if you modified the containers.
that is about as close as I can get.

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


fhornain sent the following on 5/29/2010 5:20 AM:

> Dear *,
>
> I am quite new to OFBiz and would like to use it for a production Project.
> Why ? Because, i do not like to reinvent the wheel.
>
> So I am using apache-ofbiz-09.04 and would like to run it in JBoss 5.1 on
> Fedora 13 with java-1.6.0-openjdk-1.6.0.0-37.b17.fc13.x86_64 and
> java-1.6.0-openjdk-devel-1.6.0.0-37.b17.fc13.x86_64.
>
> Indeed I followed the procedure mentioned at the following URL :
> https://cwiki.apache.org/confluence/display/OFBTECH/Deploying+OFBiz+9.04+on+JBoss+5.1.0
>
> But I still have a little problem - see below -. So could someone give me a
> hand please ?
> Thanks a lot in advance for your help.
>
> BR
> Frederic ;)  
>
> [fhornain@localhost apache-ofbiz-09.04]$ java -jar ofbiz.jar -setup jboss422
> Set OFBIZ_HOME to -
> /mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04
> Admin socket not configured; set to port 0
> 2010-05-29 13:59:55,474 (main) [    ContainerLoader.java:51 :INFO ]
> [Startup] Loading containers...
> 2010-05-29 13:59:55,631 (main) [ ComponentContainer.java:158:INFO ]
> Auto-Loading component directory :
> [/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework]
> 2010-05-29 13:59:55,679 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [geronimo]
> 2010-05-29 13:59:55,698 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [entity]
> 2010-05-29 13:59:55,726 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [catalina]
> 2010-05-29 13:59:55,760 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [security]
> 2010-05-29 13:59:55,775 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [datafile]
> 2010-05-29 13:59:55,789 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [minilang]
> 2010-05-29 13:59:55,814 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [common]
> 2010-05-29 13:59:55,840 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [service]
> 2010-05-29 13:59:55,858 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [entityext]
> 2010-05-29 13:59:55,875 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [bi]
> 2010-05-29 13:59:55,890 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [webapp]
> 2010-05-29 13:59:55,916 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [guiapp]
> 2010-05-29 13:59:55,941 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [widget]
> 2010-05-29 13:59:55,954 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [appservers]
> 2010-05-29 13:59:55,978 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [testtools]
> 2010-05-29 13:59:56,007 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [webtools]
> 2010-05-29 13:59:56,026 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [webslinger]
> 2010-05-29 13:59:56,044 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [images]
> 2010-05-29 13:59:56,077 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [example]
> 2010-05-29 13:59:56,087 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [exampleext]
> 2010-05-29 13:59:56,091 (main) [ ComponentContainer.java:158:INFO ]
> Auto-Loading component directory :
> [/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/themes]
> 2010-05-29 13:59:56,100 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [bluelight]
> 2010-05-29 13:59:56,119 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [multiflex]
> 2010-05-29 13:59:56,132 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [bizznesstime]
> 2010-05-29 13:59:56,141 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [flatgrey]
> 2010-05-29 13:59:56,150 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [smoothfeather]
> 2010-05-29 13:59:56,151 (main) [ ComponentContainer.java:158:INFO ]
> Auto-Loading component directory :
> [/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/applications]
> 2010-05-29 13:59:56,180 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [commonext]
> 2010-05-29 13:59:56,205 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [party]
> 2010-05-29 13:59:56,225 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [securityext]
> 2010-05-29 13:59:56,250 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [content]
> 2010-05-29 13:59:56,268 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [workeffort]
> 2010-05-29 13:59:56,298 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [product]
> 2010-05-29 13:59:56,322 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [manufacturing]
> 2010-05-29 13:59:56,352 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [accounting]
> 2010-05-29 13:59:56,354 (main) [ ComponentContainer.java:256:WARN ] Location
> '/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/applications/accounting/lib/cybersource'
> does not exist
> 2010-05-29 13:59:56,355 (main) [ ComponentContainer.java:256:WARN ] Location
> '/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/applications/accounting/lib/worldpay'
> does not exist
> 2010-05-29 13:59:56,371 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [humanres]
> 2010-05-29 13:59:56,391 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [order]
> 2010-05-29 13:59:56,416 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [marketing]
> 2010-05-29 13:59:56,417 (main) [ ComponentContainer.java:158:INFO ]
> Auto-Loading component directory :
> [/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/specialpurpose]
> 2010-05-29 13:59:56,448 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [ecommerce]
> 2010-05-29 13:59:56,470 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [pos]
> 2010-05-29 13:59:56,492 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [hhfacility]
> 2010-05-29 13:59:56,508 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [assetmaint]
> 2010-05-29 13:59:56,525 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [cmssite]
> 2010-05-29 13:59:56,540 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [projectmgr]
> 2010-05-29 13:59:56,557 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [oagis]
> 2010-05-29 13:59:56,577 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [googlebase]
> 2010-05-29 13:59:56,589 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [ebay]
> 2010-05-29 13:59:56,600 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [myportal]
> 2010-05-29 13:59:56,608 (main) [ ComponentContainer.java:217:INFO ] Loading
> component : [webpos]
> 2010-05-29 13:59:56,609 (main) [ ComponentContainer.java:158:INFO ]
> Auto-Loading component directory :
> [/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/hot-deploy]
> 2010-05-29 13:59:56,618 (main) [ ComponentContainer.java:127:INFO ] All
> components loaded
> 2010-05-29 13:59:56,656 (main) [    ContainerLoader.java:96 :INFO ]
> [Startup] Starting containers...
> 2010-05-29 13:59:56,695 (main) [  GenerateContainer.java:456:INFO ] Parsing
> template :
> /mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework/appserver/templates/jboss422/application.xml
> 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\-\.\?\,\:\'\/\\\+=&amp;%\$#_]*)?$
>   |   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
> 2010-05-29 13:59:56,849 (main) [   FreeMarkerWorker.java:109:INFO ] loading
> properties:
> file:/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework/webapp/config/freemarkerTransforms.properties
> 2010-05-29 13:59:56,863 (main) [   FreeMarkerWorker.java:109:INFO ] loading
> properties:
> file:/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework/widget/config/freemarkerTransforms.properties
> 2010-05-29 13:59:56,869 (main) [   FreeMarkerWorker.java:109:INFO ] loading
> properties:
> file:/mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/applications/content/config/freemarkerTransforms.properties
> 2010-05-29 13:59:57,041 (main) [  GenerateContainer.java:456:INFO ] Parsing
> template :
> /mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework/appserver/templates/jboss422/run.conf
> 2010-05-29 13:59:57,050 (main) [  GenerateContainer.java:456:INFO ] Parsing
> template :
> /mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04/framework/appserver/templates/jboss422/build.xml
> org.ofbiz.base.start.StartupException: Cannot start()
> org.ofbiz.appservers.GenerateContainer
> (java.lang.StringIndexOutOfBoundsException: String index out of range: -3
> (String index out of range: -3))
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:103)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
> at org.ofbiz.base.start.Start.startServer(Start.java:312)
> at org.ofbiz.base.start.Start.start(Start.java:316)
> at org.ofbiz.base.start.Start.main(Start.java:399)
> org.ofbiz.base.container.ContainerException:
> java.lang.StringIndexOutOfBoundsException: String index out of range: -3
> (String index out of range: -3)
> at
> org.ofbiz.appservers.GenerateContainer.parseTemplate(GenerateContainer.java:477)
> at
> org.ofbiz.appservers.GenerateContainer.generateFiles(GenerateContainer.java:368)
> at org.ofbiz.appservers.GenerateContainer.start(GenerateContainer.java:96)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
> at org.ofbiz.base.start.Start.startServer(Start.java:312)
> at org.ofbiz.base.start.Start.start(Start.java:316)
> at org.ofbiz.base.start.Start.main(Start.java:399)
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
> range: -3
> at java.lang.String.substring(String.java:1949)
> at java.lang.String.substring(String.java:1916)
> at
> freemarker.core.StringBuiltins$substringBI$1.exec(StringBuiltins.java:211)
> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> at
> freemarker.core.ParentheticalExpression._getAsTemplateModel(ParentheticalExpression.java:75)
> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> at freemarker.core.Expression.getStringValue(Expression.java:93)
> at
> freemarker.core.StringBuiltins$StringBuiltIn._getAsTemplateModel(StringBuiltins.java:71)
> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> at freemarker.core.Assignment.accept(Assignment.java:90)
> at freemarker.core.Environment.visit(Environment.java:209)
> at freemarker.core.MixedContent.accept(MixedContent.java:92)
> at freemarker.core.Environment.visit(Environment.java:209)
> at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
> at freemarker.core.Environment.visit(Environment.java:416)
> at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
> at freemarker.core.Environment.visit(Environment.java:209)
> at freemarker.core.MixedContent.accept(MixedContent.java:92)
> at freemarker.core.Environment.visit(Environment.java:209)
> at freemarker.core.Environment.process(Environment.java:189)
> at
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:210)
> at
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:172)
> at
> org.ofbiz.appservers.GenerateContainer.parseTemplate(GenerateContainer.java:475)
> ... 7 more
> org.ofbiz.base.container.ContainerException:
> java.lang.StringIndexOutOfBoundsException: String index out of range: -3
> (String index out of range: -3)
> at
> org.ofbiz.appservers.GenerateContainer.parseTemplate(GenerateContainer.java:477)
> at
> org.ofbiz.appservers.GenerateContainer.generateFiles(GenerateContainer.java:368)
> at org.ofbiz.appservers.GenerateContainer.start(GenerateContainer.java:96)
> at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
> at org.ofbiz.base.start.Start.startServer(Start.java:312)
> at org.ofbiz.base.start.Start.start(Start.java:316)
> at org.ofbiz.base.start.Start.main(Start.java:399)
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
> range: -3
> at java.lang.String.substring(String.java:1949)
> at java.lang.String.substring(String.java:1916)
> at
> freemarker.core.StringBuiltins$substringBI$1.exec(StringBuiltins.java:211)
> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> at
> freemarker.core.ParentheticalExpression._getAsTemplateModel(ParentheticalExpression.java:75)
> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> at freemarker.core.Expression.getStringValue(Expression.java:93)
> at
> freemarker.core.StringBuiltins$StringBuiltIn._getAsTemplateModel(StringBuiltins.java:71)
> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> at freemarker.core.Assignment.accept(Assignment.java:90)
> at freemarker.core.Environment.visit(Environment.java:209)
> at freemarker.core.MixedContent.accept(MixedContent.java:92)
> at freemarker.core.Environment.visit(Environment.java:209)
> at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
> at freemarker.core.Environment.visit(Environment.java:416)
> at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
> at freemarker.core.Environment.visit(Environment.java:209)
> at freemarker.core.MixedContent.accept(MixedContent.java:92)
> at freemarker.core.Environment.visit(Environment.java:209)
> at freemarker.core.Environment.process(Environment.java:189)
> at
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:210)
> at
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:172)
> at
> org.ofbiz.appservers.GenerateContainer.parseTemplate(GenerateContainer.java:475)
> ... 7 more
> 2010-05-29 13:59:57,118 (OFBiz_Shutdown_Hook) [  
> ContainerLoader.java:114:INFO ] Shutting down containers

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz on JBoss 5.1

rrhati2010
In reply to this post by fhornain
Hi,

As per the document u have reffered u must have missed the step of refering to the Ofbiz home in the JVM parameters specified in the "run.bat" or "run.sh".

Please provide: -Dofbiz.home="path of ofbiz installed directory"
Ex:
set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dofbiz.home=C:/ofbiz9.04


Also,
U must have faced this problem when tried to give the command on Ofbiz home path: java -jar ofbiz.jar -setup jboss422.


For this u have to keep ur Ofbiz home in C:/ drive, not in a longer drive path like C:/path/path2/ofbiz
RRH
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz on JBoss 5.1

fhornain
Dear rrhati2010,

I followed your advice but it did not help me unfortunately. :(
I am stiil looking for a solution.

Maybe Vignesh Sabapathi or Jacques Le Roux can give us clues or way to search.
Thanks in advance for your help and your time.

BR
Frederic ;)
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz on JBoss 5.1

rrhati2010
Hi,

The path of Ofbiz home in your case is too deep:
i.e  /mnt/repository/MyStuff_Fedora/Others/

Put it under /mnt then give the command java -jar ofbiz.jar -setup jboss422
RRH
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz on JBoss 5.1

fhornain
Dear rrhati2010,

Congratulation ! This is Correct !

This is what I did :
-> mv /mnt/repository/MyStuff_Fedora/Others/Ofbiz/apache-ofbiz-09.04 to /tmp/ofbiz.
-> export  JAVA_OPTS="-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dofbiz.home=/tmp/ofbiz"
-> ./ant run-install
-> java -jar ofbiz.jar -setup jboss422

Then I had the following output :
Set OFBIZ_HOME to - /tmp/ofbiz
Admin socket not configured; set to port 0
2010-06-01 12:59:15,095 (main) [    ContainerLoader.java:51 :INFO ] [Startup] Loading containers...
2010-06-01 12:59:15,252 (main) [ ComponentContainer.java:158:INFO ] Auto-Loading component directory : [/tmp/ofbiz/framework]
2010-06-01 12:59:15,297 (main) [ ComponentContainer.java:217:INFO ] Loading component : [geronimo]
2010-06-01 12:59:15,314 (main) [ ComponentContainer.java:217:INFO ] Loading component : [entity]
2010-06-01 12:59:15,342 (main) [ ComponentContainer.java:217:INFO ] Loading component : [catalina]
2010-06-01 12:59:15,363 (main) [ ComponentContainer.java:217:INFO ] Loading component : [security]
2010-06-01 12:59:15,378 (main) [ ComponentContainer.java:217:INFO ] Loading component : [datafile]
2010-06-01 12:59:15,389 (main) [ ComponentContainer.java:217:INFO ] Loading component : [minilang]
2010-06-01 12:59:15,415 (main) [ ComponentContainer.java:217:INFO ] Loading component : [common]
2010-06-01 12:59:15,439 (main) [ ComponentContainer.java:217:INFO ] Loading component : [service]
2010-06-01 12:59:15,453 (main) [ ComponentContainer.java:217:INFO ] Loading component : [entityext]
2010-06-01 12:59:15,468 (main) [ ComponentContainer.java:217:INFO ] Loading component : [bi]
2010-06-01 12:59:15,479 (main) [ ComponentContainer.java:217:INFO ] Loading component : [webapp]
2010-06-01 12:59:15,506 (main) [ ComponentContainer.java:217:INFO ] Loading component : [guiapp]
2010-06-01 12:59:15,517 (main) [ ComponentContainer.java:217:INFO ] Loading component : [widget]
2010-06-01 12:59:15,535 (main) [ ComponentContainer.java:217:INFO ] Loading component : [appservers]
2010-06-01 12:59:15,546 (main) [ ComponentContainer.java:217:INFO ] Loading component : [testtools]
2010-06-01 12:59:15,564 (main) [ ComponentContainer.java:217:INFO ] Loading component : [webtools]
2010-06-01 12:59:15,575 (main) [ ComponentContainer.java:217:INFO ] Loading component : [webslinger]
2010-06-01 12:59:15,594 (main) [ ComponentContainer.java:217:INFO ] Loading component : [images]
2010-06-01 12:59:15,605 (main) [ ComponentContainer.java:217:INFO ] Loading component : [example]
2010-06-01 12:59:15,623 (main) [ ComponentContainer.java:217:INFO ] Loading component : [exampleext]
2010-06-01 12:59:15,623 (main) [ ComponentContainer.java:158:INFO ] Auto-Loading component directory : [/tmp/ofbiz/themes]
2010-06-01 12:59:15,648 (main) [ ComponentContainer.java:217:INFO ] Loading component : [smoothfeather]
2010-06-01 12:59:15,673 (main) [ ComponentContainer.java:217:INFO ] Loading component : [bluelight]
2010-06-01 12:59:15,687 (main) [ ComponentContainer.java:217:INFO ] Loading component : [flatgrey]
2010-06-01 12:59:15,700 (main) [ ComponentContainer.java:217:INFO ] Loading component : [multiflex]
2010-06-01 12:59:15,725 (main) [ ComponentContainer.java:217:INFO ] Loading component : [bizznesstime]
2010-06-01 12:59:15,725 (main) [ ComponentContainer.java:158:INFO ] Auto-Loading component directory : [/tmp/ofbiz/applications]
2010-06-01 12:59:15,753 (main) [ ComponentContainer.java:217:INFO ] Loading component : [commonext]
2010-06-01 12:59:15,762 (main) [ ComponentContainer.java:217:INFO ] Loading component : [party]
2010-06-01 12:59:15,770 (main) [ ComponentContainer.java:217:INFO ] Loading component : [securityext]
2010-06-01 12:59:15,783 (main) [ ComponentContainer.java:217:INFO ] Loading component : [content]
2010-06-01 12:59:15,807 (main) [ ComponentContainer.java:217:INFO ] Loading component : [workeffort]
2010-06-01 12:59:15,826 (main) [ ComponentContainer.java:217:INFO ] Loading component : [product]
2010-06-01 12:59:15,841 (main) [ ComponentContainer.java:217:INFO ] Loading component : [manufacturing]
2010-06-01 12:59:15,867 (main) [ ComponentContainer.java:217:INFO ] Loading component : [accounting]
2010-06-01 12:59:15,868 (main) [ ComponentContainer.java:256:WARN ] Location '/tmp/ofbiz/applications/accounting/lib/cybersource' does not exist
2010-06-01 12:59:15,870 (main) [ ComponentContainer.java:256:WARN ] Location '/tmp/ofbiz/applications/accounting/lib/worldpay' does not exist
2010-06-01 12:59:15,884 (main) [ ComponentContainer.java:217:INFO ] Loading component : [humanres]
2010-06-01 12:59:15,898 (main) [ ComponentContainer.java:217:INFO ] Loading component : [order]
2010-06-01 12:59:15,917 (main) [ ComponentContainer.java:217:INFO ] Loading component : [marketing]
2010-06-01 12:59:15,918 (main) [ ComponentContainer.java:158:INFO ] Auto-Loading component directory : [/tmp/ofbiz/specialpurpose]
2010-06-01 12:59:15,954 (main) [ ComponentContainer.java:217:INFO ] Loading component : [ecommerce]
2010-06-01 12:59:15,962 (main) [ ComponentContainer.java:217:INFO ] Loading component : [pos]
2010-06-01 12:59:15,970 (main) [ ComponentContainer.java:217:INFO ] Loading component : [hhfacility]
2010-06-01 12:59:15,991 (main) [ ComponentContainer.java:217:INFO ] Loading component : [assetmaint]
2010-06-01 12:59:16,007 (main) [ ComponentContainer.java:217:INFO ] Loading component : [cmssite]
2010-06-01 12:59:16,023 (main) [ ComponentContainer.java:217:INFO ] Loading component : [projectmgr]
2010-06-01 12:59:16,035 (main) [ ComponentContainer.java:217:INFO ] Loading component : [oagis]
2010-06-01 12:59:16,044 (main) [ ComponentContainer.java:217:INFO ] Loading component : [googlebase]
2010-06-01 12:59:16,053 (main) [ ComponentContainer.java:217:INFO ] Loading component : [ebay]
2010-06-01 12:59:16,062 (main) [ ComponentContainer.java:217:INFO ] Loading component : [myportal]
2010-06-01 12:59:16,070 (main) [ ComponentContainer.java:217:INFO ] Loading component : [webpos]
2010-06-01 12:59:16,071 (main) [ ComponentContainer.java:158:INFO ] Auto-Loading component directory : [/tmp/ofbiz/hot-deploy]
2010-06-01 12:59:16,085 (main) [ ComponentContainer.java:127:INFO ] All components loaded
2010-06-01 12:59:16,118 (main) [    ContainerLoader.java:96 :INFO ] [Startup] Starting containers...
2010-06-01 12:59:16,151 (main) [  GenerateContainer.java:456:INFO ] Parsing template : /tmp/ofbiz/framework/appserver/templates/jboss422/run.conf
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
2010-06-01 12:59:16,243 (main) [   FreeMarkerWorker.java:109:INFO ] loading properties: file:/tmp/ofbiz/framework/webapp/config/freemarkerTransforms.properties
2010-06-01 12:59:16,256 (main) [   FreeMarkerWorker.java:109:INFO ] loading properties: file:/tmp/ofbiz/framework/widget/config/freemarkerTransforms.properties
2010-06-01 12:59:16,262 (main) [   FreeMarkerWorker.java:109:INFO ] loading properties: file:/tmp/ofbiz/applications/content/config/freemarkerTransforms.properties
2010-06-01 12:59:16,394 (main) [  GenerateContainer.java:456:INFO ] Parsing template : /tmp/ofbiz/framework/appserver/templates/jboss422/application.xml
2010-06-01 12:59:16,437 (main) [  GenerateContainer.java:456:INFO ] Parsing template : /tmp/ofbiz/framework/appserver/templates/jboss422/build.xml
2010-06-01 12:59:16,559 (main) [  GenerateContainer.java:456:INFO ] Parsing template : /tmp/ofbiz/framework/appserver/templates/jboss422/deploy.sh
2010-06-01 12:59:16,644 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:114:INFO ] Shutting down containers

Seems OK !

Thanks again.
Now I am going to go to the next step.

BR
Frederic ;)
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz on JBoss 5.1

fhornain
Dear rrhati2010,

You said :

`I deployed the way in said in the document, but still it referes to the
Ofbiz home directory where Ofbiz is installed. `

I am not at that point cause I have got a "Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded".
but I do not like that.

Have find a way to avoid that ?

BR
Frederic ;)
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz on JBoss 5.1

fhornain
Dear *,

New Problem :
When I start Ofbiz on JBoss I have now the following Error :

*** PROFILES IN ERROR: Name -> Error
Profile: ProfileKey@28bd36fa[domain=default, server=default, name=applications] in error due to java.lang.OutOfMemoryError: Java heap space

I have increase the memory allocation of Java but it was not that.
Thanks in advance for your comment.

BR
Frederic ;)
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz on JBoss 5.1

rrhati2010
What all JVM parameters have you used? What JAVA_OPTS you have specified??
RRH