Users - 7644: Error during startup

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

Users - 7644: Error during startup

Vinay Agarwal

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)

        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:126)

        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)

        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)

        at org.ofbiz.base.start.Start.init(Start.java:96)

        at org.ofbiz.base.start.Start.main(Start.java:412)

java.lang.ClassNotFoundException: org.ofbiz.webtools.print.rmi.FopPrintServer

        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

        at org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170)

        at org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145)

        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124)

        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)

        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)

        at org.ofbiz.base.start.Start.init(Start.java:96)

        at org.ofbiz.base.start.Start.main(Start.java:412)

java.lang.ClassNotFoundException: org.ofbiz.webtools.print.rmi.FopPrintServer

        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

        at org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170)

        at org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145)

        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124)

        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)

        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)

        at org.ofbiz.base.start.Start.init(Start.java:96)

        at org.ofbiz.base.start.Start.main(Start.java:412)

 

Exact steps are:

  1. Checkout a fresh copy of svn 7644 code.
  2. ant run-install-seed
  3. startofbiz

 

Regards,

Vinay Agarwal

 


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

Re: Users - 7644: Error during startup

Charles Johnson-4


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)
>
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:126)
>
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>
>         at org.ofbiz.base.start.Start.main(Start.java:412)
>
> java.lang.ClassNotFoundException:
> org.ofbiz.webtools.print.rmi.FopPrintServer
>
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>
>         at java.security.AccessController.doPrivileged(Native Method)
>
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>
>         at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170)
>
>         at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145)
>
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124)
>
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>
>         at org.ofbiz.base.start.Start.main(Start.java:412)
>
> java.lang.ClassNotFoundException:
> org.ofbiz.webtools.print.rmi.FopPrintServer
>
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>
>         at java.security.AccessController.doPrivileged(Native Method)
>
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>
>         at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:170)
>
>         at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:145)
>
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:124)
>
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>
>         at org.ofbiz.base.start.Start.main(Start.java:412)
>
>  
>
> Exact steps are:
>
>    1. Checkout a fresh copy of svn 7644 code.
>    2. ant run-install-seed
>    3. startofbiz
>
>  
>
> Regards,
>
> Vinay Agarwal
>
>  
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>

Of course I have tried that thanks. I'll try it again though. The
problem seems to be that the class in question simply doesn't exist in
the latest version.

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

Re: Users - 7644: Error during startup

Jacopo Cappellato
In reply to this post by Vinay Agarwal
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
Reply | Threaded
Open this post in threaded view
|

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

Vinay Agarwal
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