this is an error that has been fixed, and some others. you need to upgrade to the current version of the trunk. current version uses tomcat 6.0
jose junior malheiros barros sent the following on 8/7/2008 7:28 AM: > i excute ofbiz and get the error: > > > 2008-08-07 11:24:12,399 (main) [ CatalinaContainer.java:242:INFO ] Started > Apache Tomcat/5.5.20 > Httpd started on port: 9989 > Sessiond started on port: 9990 > 2008-08-07 11:24:12,602 (main) [ BeanShellContainer.java:103:INFO ] Started > BeanShell telnet service on 9989, 9990 > 2008-08-07 11:24:12,602 (main) [ BeanShellContainer.java:104:INFO ] NOTICE: > BeanShell service ports are not secure. Please protect the ports > 2008-08-07 11:24:23,764 ([EMAIL PROTECTED]) [ JmsListenerFactory.java:76 > :INFO ] JMS Listener Factory Thread Finished; All listeners connected. > 2008-08-07 11:25:13,802 ([EMAIL PROTECTED]) [ GenericDispatcher.java:62 > :INFO ] Creating new dispatcher [JobDispatcher] ([EMAIL PROTECTED]) > 2008-08-07 11:25:13,802 ([EMAIL PROTECTED]) [ > ServiceDispatcher.java:170:INFO ] Registered dispatcher: JobDispatcher > 2008-08-07 11:25:13,802 ([EMAIL PROTECTED]) [ > GenericDispatcher.java:132:INFO ] [LocalDispatcher] : Created Dispatcher for: > JobDispatcher > 2008-08-07 11:25:14,380 (default-invoker-Thread-2) [ > JobInvoker.java:214:INFO ] Invoker: default-invoker-Thread-2 received job -- > 1218113094139 from poller - [EMAIL PROTECTED] > 2008-08-07 11:25:14,380 (default-invoker-Thread-2) > [PersistedServiceJob.java:139:INFO ] [EMAIL PROTECTED] -- Next runtime: -1 > 2008-08-07 11:25:14,396 (default-invoker-Thread-2) [ > UtilXml.java:246:DEBUG] XML Read 0.016s: Internal Content > [Error] :2:12: cvc-elt.1: Cannot find the declaration of element 'ofbiz-ser'. > 2008-08-07 11:25:14,396 (default-invoker-Thread-2) [ > AbstractEngine.java:78 :INFO ] Loaded Service Locations : > [main-rmi=rmi://localhost:1099/RMIDispatcher, > main-http=http://localhost:8080/webtools/control/httpService, > entity-sync-rmi=rmi://localhost:1099/RMIDispatcher, > entity-sync-http=http://localhost:8080/webtools/control/httpService, > rita-rmi=rmi://localhost:1099/RMIDispatcher, > eedcc-test=http://localhost:8080/webtools/control/httpService] > 2008-08-07 11:25:14,412 (default-invoker-Thread-2) [ > ServiceDispatcher.java:396:DEBUG] [[Sync service failed...- total:0.0,since > last(Begin):0.0]] - 'JobDispatcher / addSuggestionsToShoppingList' > 2008-08-07 11:25:14,412 (default-invoker-Thread-2) [ > ServiceDispatcher.java:399:ERROR] > ---- exception report > ---------------------------------------------------------- > Service [addSuggestionsToShoppingList] threw an unexpected exception/error > Exception: org.ofbiz.service.GenericServiceException > Message: Error running simple method [addSuggestionsToShoppingList] in XML > file [org/ofbiz/order/shoppinglist/ShoppingListServices.xml]: (Could not > find SimpleMethod XML document in resource: > org/ofbiz/order/shoppinglist/ShoppingListServices.xml) > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.service.GenericServiceException: Error running simple method > [addSuggestionsToShoppingList] in XML file > [org/ofbiz/order/shoppinglist/ShoppingListServices.xml]: (Could not find > SimpleMethod XML document in resource: > org/ofbiz/order/shoppinglist/ShoppingListServices.xml) > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81) > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73) > org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224) > java.lang.Thread.run(Unknown Source) > org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML > document in resource: org/ofbiz/order/shoppinglist/ShoppingListServices.xml > org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90) > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79) > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73) > org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224) > java.lang.Thread.run(Unknown Source) > -------------------------------------------------------------------------------- > > 2008-08-07 11:25:14,412 (default-invoker-Thread-2) [ > TransactionUtil.java:258:ERROR] > ---- exception report > ---------------------------------------------------------- > [TransactionUtil.rollback] > Exception: java.lang.Exception > Message: Stack Trace > ---- stack trace > --------------------------------------------------------------- > java.lang.Exception: Stack Trace > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73) > org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224) > java.lang.Thread.run(Unknown Source) > -------------------------------------------------------------------------------- > > 2008-08-07 11:25:14,412 (default-invoker-Thread-2) [ > TransactionUtil.java:268:INFO ] [TransactionUtil.rollback] transaction rolled > back > 2008-08-07 11:25:14,412 (default-invoker-Thread-2) [ > TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not committing > transaction, status is STATUS_NO_TRANSACTION > 2008-08-07 11:25:14,412 (default-invoker-Thread-2) [ > GenericServiceJob.java:120:ERROR] > ---- exception report > ---------------------------------------------------------- > Async-Service failed. > Exception: org.ofbiz.service.GenericServiceException > Message: Error running simple method [addSuggestionsToShoppingList] in XML > file [org/ofbiz/order/shoppinglist/ShoppingListServices.xml]: (Could not > find SimpleMethod XML document in resource: > org/ofbiz/order/shoppinglist/ShoppingListServices.xml) > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.service.GenericServiceException: Error running simple method > [addSuggestionsToShoppingList] in XML file > [org/ofbiz/order/shoppinglist/ShoppingListServices.xml]: (Could not find > SimpleMethod XML document in resource: > org/ofbiz/order/shoppinglist/ShoppingListServices.xml) > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81) > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73) > org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224) > java.lang.Thread.run(Unknown Source) > org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML > document in resource: org/ofbiz/order/shoppinglist/ShoppingListServices.xml > org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90) > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79) > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:73) > org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:224) > java.lang.Thread.run(Unknown Source) > -------------------------------------------------------------------------------- > > 2008-08-07 11:25:14,427 (default-invoker-Thread-2) [ > SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [JobSandbox]; > curSeqId=10450, maxSeqId=10460, bankSize=10 > 2008-08-07 11:25:14,427 (default-invoker-Thread-2) > [PersistedServiceJob.java:205:INFO ] Persisted Job [10440] Failed > Re-Scheduling : 1218119294412 > > someone can help me? > > thanks > > > > Novos endereços, o Yahoo! que você conhece. Crie um email novo com a > sua cara @ymail.com ou @rocketmail.com. > http://br.new.mail.yahoo.com/addresses
