[jira] Created: (OFBIZ-1385) POS hang at start

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

[jira] Created: (OFBIZ-1385) POS hang at start

Nicolas Malin (Jira)
POS hang at start
-----------------

                 Key: OFBIZ-1385
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
             Project: OFBiz
          Issue Type: Bug
          Components: pos
    Affects Versions: SVN trunk
            Reporter: Jacques Le Roux
            Priority: Blocker
             Fix For: SVN trunk


I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :

2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
---- exception report ----------------------------------------------------------
Exception: java.io.InvalidClassException
Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
---- stack trace ---------------------------------------------------------------
java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
jdbm.htree.HashDirectory.get(HashDirectory.java:192)
jdbm.htree.HTree.get(HTree.java:142)
org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
net.xoetrope.xui.XPageManager.showPage(Unknown Source)
net.xoetrope.xui.XPageManager.showPage(Unknown Source)
net.xoetrope.swing.XApplet.setHome(Unknown Source)
net.xoetrope.swing.XApplet.setContent(Unknown Source)
net.xoetrope.swing.XApplet.initialise(Unknown Source)
net.xoetrope.swing.XApplet.setup(Unknown Source)
org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
org.ofbiz.base.start.Start.startServer(Start.java:310)
org.ofbiz.base.start.Start.start(Start.java:314)
org.ofbiz.base.start.Start.main(Start.java:397)
--------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-1385:
-----------------------------------

    Summary: POS hangs at start  (was: POS hang at start)

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-1385:
--------------------------------------

    Assignee: Jacques Le Roux

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540658 ]

Dan Shields commented on OFBIZ-1385:
------------------------------------

Hi Jacques,

I can't reproduce this error.   I have recently tried the svn head (ie. rev 592112)  with jdk 1.5.0_13-b03 on Ubuntu 7.10 and it appears to function as expected without outputing the Exception report above.

Perhaps there is something else in your environment that may affect your observation?

I am watching this bug and may be able to help isolate the cause if a test case that demonstrates the problem can be created.

Cheers,
Dan.


> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540709 ]

Jacques Le Roux commented on OFBIZ-1385:
----------------------------------------

Thanks for comment Dan,

I just tried on antoher instance on Windows and it works (but I have lost the password enhancement in this instance which is supposed to be clean, I wonder why... Will see later...)

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Issue Comment Edited: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540658 ]

d4n edited comment on OFBIZ-1385 at 11/7/07 7:48 AM:
-------------------------------------------------------------

Hi Jacques,

I can't reproduce this error.   I have recently tried the svn head (ie. rev 592112)  with jdk 1.5.0_13-b05 on Ubuntu 7.10 and it appears to function as expected without outputing the Exception report above.

Perhaps there is something else in your environment that may affect your observation?

I am watching this bug and may be able to help isolate the cause if a test case that demonstrates the problem can be created.

Cheers,
Dan.


      was (Author: d4n):
    Hi Jacques,

I can't reproduce this error.   I have recently tried the svn head (ie. rev 592112)  with jdk 1.5.0_13-b03 on Ubuntu 7.10 and it appears to function as expected without outputing the Exception report above.

Perhaps there is something else in your environment that may affect your observation?

I am watching this bug and may be able to help isolate the cause if a test case that demonstrates the problem can be created.

Cheers,
Dan.

 

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540835 ]

Dan Shields commented on OFBIZ-1385:
------------------------------------

Hi, I just tried the svn head both with and without the input-with-password patch applied and neither outputs an exception.  There must be some other problem.

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540968 ]

Chris Lombardi commented on OFBIZ-1385:
---------------------------------------

I am experiencing this issue on both Windows XP and linux.  The release branch works great.

Under linux I can reproduce with
Sun JDK 1.5.0.12
Sun JDK 1.6.0.03 (tested with both 32bit and 64bit JRE)

Under windows I can reproduce with Sun JDK 1.5.0_09.

On each OS I have dropped the schemas in mysql and loaded fresh data.  Still the same issue.

Most recently, I pulled a new copy from SVN and ran it with derby on linux and it worked.  Then I switched it to mysql and it still worked.  I'm starting to suspect that "ant clean" doesn't clean everything it needs to and there are some stale files hiding out there.


> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541181 ]

Chris Lombardi commented on OFBIZ-1385:
---------------------------------------

Yes, I deleted everything in runtime, and it works again.  Wish I saw your comment first, I could have tried just deleting utilcache.db.

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Issue Comment Edited: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540990 ]

d4n edited comment on OFBIZ-1385 at 11/8/07 7:29 PM:
-------------------------------------------------------------

Perhaps check into runtime/data/utilcache.db contamination in the "'clean" build state.   I am unsure when or why this would be a factor as it appears that the utilcache defaults are to NOT use this file at all.....but the Exception report is quite revealing.

Just some random thoughts....
Dan.


 

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541239 ]

Jacques Le Roux commented on OFBIZ-1385:
----------------------------------------

Thanks guys !

I will have a look at this ASAP...

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541371 ]

Chris Lombardi commented on OFBIZ-1385:
---------------------------------------

Per DS' recommendation, I tried deleting only utilcache.db and utilcache.lg on my other install.  It worked.  Also, I hadn't changed any of the default settings (AFAIK) to use or not use utilcache.


> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541429 ]

Dan Shields commented on OFBIZ-1385:
------------------------------------

I have added
        <property file="framework/base/config/cache.properties"/>
        <echo message="NOTICE: deleting ${cache.file.store}.db"/>
        <delete file="${cache.file.store}.db" verbose="true"/>

to the clean task of my local main build.xml.  After some more testing/discussion perhaps I will post it as a patch.


> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541465 ]

Jacques Le Roux commented on OFBIZ-1385:
----------------------------------------

Hi Dan,

This looks like a good idea.
I wonder why we have to do thatnow. Maybe it's related to recent java 1.5 enhancements ? But I can see any evidences.
Anyway it's not a big deal and I'm ready to apply a patch if nobody see something harmful in it (I wonder how it could be).
Also I wonder if we shoult not apply it in the pos build.xml main task (not clean) rather than in the clean task of the main build.xml.
That because I found a case that I had to apply ant clean where I should only have to apply ant.

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-1385:
-----------------------------------

    Attachment: pos-build.xml.patch

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>         Attachments: pos-build.xml.patch
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-1385:
-----------------------------------

    Attachment: pos-build.xml.patch

1st patch was no path relative

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>         Attachments: pos-build.xml.patch, pos-build.xml.patch
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541516 ]

Dan Shields commented on OFBIZ-1385:
------------------------------------

 Jacques, re: your wondering if we should not appliy it in the pos build.xml

I wondered this at first too, but the cache.properties file specifies relative paths that assume the current directory is the OFBIZ_ROOT.  It's a much simpler patch if the directories are the same.  Also, it isn't really the POS system that should be considered responsible for cleaning up a binary artifact left by UtilCache.  If it must not be in OFBIZ_ROOT/build.xml then it ought to be in framework/base/build.xml, IMHO.


> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>         Attachments: pos-build.xml.patch, pos-build.xml.patch
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541533 ]

Jacques Le Roux commented on OFBIZ-1385:
----------------------------------------

Hi Dan,

I agree and I considered that too (adding to main task of the main build.xml). My idea was that by putting it in the POS module we will see if it affects other modules as well (only POS will clean it) and then maybe the issue root will be found and fixed (our patch is just a hack).

I wonder also if anybody arounf has an idea about that since I assume it's not related to POS but affects it.

> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>         Attachments: pos-build.xml.patch, pos-build.xml.patch
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541645 ]

Dan Shields commented on OFBIZ-1385:
------------------------------------

There is a slight problem with putting the delete tasks in specialpurpose/pos, the way it is done it does not support cache.file.store being an absolute path (such as cache.file.store=/tmp/utilcache for example).   I've looked high and low and have not found a portable way to make it work for both relative path and absolute path situations unless the delete is executed from ./build.xml.


> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>         Attachments: pos-build.xml.patch, pos-build.xml.patch
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1385) POS hangs at start

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-1385.
----------------------------------

    Resolution: Fixed

Dan,

I agree, and as it's not a big deal I put it in the main task of the main build.xml. Thus we will not have to clean when actually it's not needed.

Commited in trunk rev. 594050


> POS hangs at start
> ------------------
>
>                 Key: OFBIZ-1385
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1385
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>             Fix For: SVN trunk
>
>         Attachments: pos-build.xml.patch, pos-build.xml.patch
>
>
> I think that last framework changes (to java 1.5) have introduced a quirk. POS at start says :
> 2007-11-03 23:10:17,140 (main) [         UtilObject.java:133:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: java.io.InvalidClassException
> Message: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> ---- stack trace ---------------------------------------------------------------
> java.io.InvalidClassException: org.ofbiz.base.util.cache.CacheLine; local class incompatible: stream classdesc serialVersionUID = -1660410335854090898, local class serialVersionUID = -7035478304991053884
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> jdbm.htree.HashBucket.readExternal(HashBucket.java:299)
> java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> org.ofbiz.base.util.UtilObject.getObject(UtilObject.java:129)
> org.ofbiz.base.util.cache.JdbmSerializer.deserialize(JdbmSerializer.java:37)
> jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
> org.ofbiz.base.util.cache.JdbmRecordManager.fetch(JdbmRecordManager.java:48)
> jdbm.htree.HashDirectory.get(HashDirectory.java:192)
> jdbm.htree.HTree.get(HTree.java:142)
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:104)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:295)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:279)
> org.ofbiz.pos.config.ButtonEventConfig.loadButtonConfig(ButtonEventConfig.java:61)
> org.ofbiz.pos.component.PosButton.<init>(PosButton.java:49)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:124)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:101)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.loadPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.xui.XPageManager.showPage(Unknown Source)
> net.xoetrope.swing.XApplet.setHome(Unknown Source)
> net.xoetrope.swing.XApplet.setContent(Unknown Source)
> net.xoetrope.swing.XApplet.initialise(Unknown Source)
> net.xoetrope.swing.XApplet.setup(Unknown Source)
> org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145)
> org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:79)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:261)
> org.ofbiz.base.start.Start.startServer(Start.java:310)
> org.ofbiz.base.start.Start.start(Start.java:314)
> org.ofbiz.base.start.Start.main(Start.java:397)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

12