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

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

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

Jacopo Cappellato
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
Reply | Threaded
Open this post in threaded view
|

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

Charles Johnson-4


Jacopo Cappellato wrote:

> 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
>
I guess this is simply an example of failure to observe the basic
protocol of ability to build *and* run before checking in, is it not?

CJ
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

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

Andrew Zeneski
In reply to this post by Jacopo Cappellato
Actually this would be the fix for this. The non-working RMI print  
server has been abandoned. It should be deleted from the container  
file. Mine is very customized at the moment, which is why I neglected  
to check it in. Sorry about that.

On May 21, 2006, at 11:59 AM, Jacopo Cappellato wrote:

> 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:users-
>> [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

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

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

Vinay Agarwal
Could someone with commit authority commit this patch? Thanks.
Vinay

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of A. Zeneski
Sent: Sunday, May 21, 2006 11:53 AM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - 7650: Startup Error-How to Reproduce and Makeit
Work

Actually this would be the fix for this. The non-working RMI print  
server has been abandoned. It should be deleted from the container  
file. Mine is very customized at the moment, which is why I neglected  
to check it in. Sorry about that.

On May 21, 2006, at 11:59 AM, Jacopo Cappellato wrote:

> 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:users-
>> [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

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