Login  Register

Re: Users - 7650: Startup Error-How to Reproduce and Make it Work

Posted by Jacopo Cappellato on May 21, 2006; 4:59pm
URL: http://ofbiz.116.s1.nabble.com/Re-Users-7650-Startup-Error-How-to-Reproduce-and-Make-it-Work-tp139378.html

Vinay,

you are right!

The attached patch is a temp fix for this issue. Thanks for reporting this.

Andy, I think this error is related to the recent refactoring you did to
the print applet in webtools... could you have a look at it?

Jacopo


Vinay Agarwal wrote:

> The problem I reported earlier is still present.
>
> Procedure to reproduce problem:
> 1. Checkout from svn in a fresh directory. The problem doesn't show up if
> Ofbiz has run from that directory (see procedure to make it work).
> 2. ant run-install-seed
> 3. startofbiz. The problem should show up within a few seconds.
>
> Procedure to make it work with the latest version.
> 1. Back up to revision 7632.
> 2. ant run-install-seed
> 3. startofbiz. OFBiz should work with this version. Stop ofbiz.
> 4. Update to the revision 7650.
> 5. ant run-install-seed
> 6. startofbiz. This time ofbiz would work just fine.
>
> To make it fail again
> 1. ant clean
> 2. ant
> 3. startofbiz. It should fail in a few seconds.
>
> Regards,
> Vinay Agarwal
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of Jacopo Cappellato
> Sent: Saturday, May 20, 2006 10:22 PM
> To: OFBiz Users / Usage Discussion
> Subject: Re: [OFBiz] Users - 7644: Error during startup
>
> Vinay,
>
> I cannot reproduce this error.
>
> Please try:
>
> ant clean
> ant build
>
> Jacopo
>
>
> Vinay Agarwal wrote:
>> Hello,
>>
>>  
>>
>> I get the following error:
>>
>>  
>>
>> D:\Server\ofbizSVN>"c:\j2sdk1.4.2_11\bin\java" -Xms256M -Xmx512M -jar
>> ofbiz.jar  1>logs\console.log
>>
>> org.ofbiz.base.start.StartupException: Cannot locate container class
>> (org.ofbiz.webtools.print.rmi.FopPrintServer)
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

Index: base/config/ofbiz-containers.xml
===================================================================
--- base/config/ofbiz-containers.xml (revision 7647)
+++ base/config/ofbiz-containers.xml (working copy)
@@ -49,13 +49,14 @@
     </container>
 
     <!-- RMI FOP Print Server -->
+<!--
     <container name="rmi-print-server" class="org.ofbiz.webtools.print.rmi.FopPrintServer">
         <property name="bound-name" value="RMIFopPrintServer"/>
         <property name="bound-host" value="127.0.0.1"/>
         <property name="bound-port" value="1099"/>
         <property name="delegator-name" value="default"/>
     </container>
-
+-->
     <!-- JavaMail Listener Container -->
     <container name="javamail-container" class="org.ofbiz.service.mail.JavaMailContainer">
         <property name="delegator-name" value="default"/>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users