Getting error while running server

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

Getting error while running server

Brajesh Patel-2
Hello All,
Not able to run server due to following:

org.ofbiz.base.start.StartupException: Cannot locate container class
(org.ofbiz.birt.container.BirtContainer)
    at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:164)
    at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
    at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
    at org.ofbiz.base.start.Start.init(Start.java:96)
    at org.ofbiz.base.start.Start.main(Start.java:409)
java.lang.ClassNotFoundException: org.ofbiz.birt.container.BirtContainer
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at
org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:186)
    at
org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:160)
    at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:162)
    at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
    at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
    at org.ofbiz.base.start.Start.init(Start.java:96)
    at org.ofbiz.base.start.Start.main(Start.java:409)
java.lang.ClassNotFoundException: org.ofbiz.birt.container.BirtContainer
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at
org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:186)
    at
org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:160)
    at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:162)
    at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
    at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
    at org.ofbiz.base.start.Start.init(Start.java:96)
    at org.ofbiz.base.start.Start.main(Start.java:409)

Thanks
Brajesh Patel
Reply | Threaded
Open this post in threaded view
|

Re: Getting error while running server

arpit singh pandya
I am also facing the same problem on latest revision.

Thanks & Regards
--
Arpit Singh Pandya

Brajesh Patel wrote:

> Hello All,
> Not able to run server due to following:
>
> org.ofbiz.base.start.StartupException: Cannot locate container class
> (org.ofbiz.birt.container.BirtContainer)
>    at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:164)
>
>    at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
>    at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
>    at org.ofbiz.base.start.Start.init(Start.java:96)
>    at org.ofbiz.base.start.Start.main(Start.java:409)
> java.lang.ClassNotFoundException: org.ofbiz.birt.container.BirtContainer
>    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>    at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:186)
>
>    at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:160)
>
>    at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:162)
>
>    at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
>    at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
>    at org.ofbiz.base.start.Start.init(Start.java:96)
>    at org.ofbiz.base.start.Start.main(Start.java:409)
> java.lang.ClassNotFoundException: org.ofbiz.birt.container.BirtContainer
>    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>    at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:186)
>
>    at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:160)
>
>    at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:162)
>
>    at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
>    at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
>    at org.ofbiz.base.start.Start.init(Start.java:96)
>    at org.ofbiz.base.start.Start.main(Start.java:409)
>
> Thanks
> Brajesh Patel
Reply | Threaded
Open this post in threaded view
|

Re: Getting error while running server

Deepak Dixit-2
In reply to this post by Brajesh Patel-2
This is due to commit no 833294.

==============================================================================
--- ofbiz/trunk/framework/base/config/ofbiz-containers.xml (original)
+++ ofbiz/trunk/framework/base/config/ofbiz-containers.xml Fri Nov  6 03:55:56 2009
@@ -256,6 +256,14 @@
             <property name="ciphers" value=""/>
         </property>
     </container>
+    
+    <!-- load the BIRT container -->
+    <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
+        <!-- the port below and port-1 will be opened by beanshell -->
+        <property name="delegator-name" value="default"/>
+        <property name="dispatcher-name" value="birt-dispatcher"/>
+        <property name="delegator-group-helper-name" value="org.ofbiz"/>
+    </container>
 


Thanks & Regards
--
Deepak Dixit
HotWax Media Pvt. Ltd.
Website :- www.hotwaxmedia.com
Contact :- +91-98267-54548





Brajesh Patel wrote:

> Hello All,
> Not able to run server due to following:
>
> org.ofbiz.base.start.StartupException: Cannot locate container class
> (org.ofbiz.birt.container.BirtContainer)
>    at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:164)
>
>    at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
>    at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
>    at org.ofbiz.base.start.Start.init(Start.java:96)
>    at org.ofbiz.base.start.Start.main(Start.java:409)
> java.lang.ClassNotFoundException: org.ofbiz.birt.container.BirtContainer
>    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>    at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:186)
>
>    at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:160)
>
>    at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:162)
>
>    at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
>    at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
>    at org.ofbiz.base.start.Start.init(Start.java:96)
>    at org.ofbiz.base.start.Start.main(Start.java:409)
> java.lang.ClassNotFoundException: org.ofbiz.birt.container.BirtContainer
>    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>    at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:186)
>
>    at
> org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:160)
>
>    at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:162)
>
>    at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
>    at org.ofbiz.base.start.Start.initStartLoaders(Start.java:258)
>    at org.ofbiz.base.start.Start.init(Start.java:96)
>    at org.ofbiz.base.start.Start.main(Start.java:409)
>
> Thanks
> Brajesh Patel