You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "chris snow (JIRA)" <ji...@apache.org> on 2010/02/24 11:42:27 UTC
[jira] Created: (OFBIZ-3501) ServerHitBin.java has a dependency on
content component
ServerHitBin.java has a dependency on content component
-------------------------------------------------------
Key: OFBIZ-3501
URL: https://issues.apache.org/jira/browse/OFBIZ-3501
Project: OFBiz
Issue Type: Bug
Components: framework
Affects Versions: SVN trunk
Reporter: chris snow
I have removed the applications and I am runing a standalone ofbiz. I receive an error message when using webtools:
{code}
2010-02-24 10:22:36,827 (http-0.0.0.0-8443-6) [ ServerHitBin.java:606:WARN ] The datamodel data has not been loaded; cannot find hitTypeId 'REQUEST not storing ServerHit.
2010-02-24 10:22:36,832 (http-0.0.0.0-8443-6) [ GenericDelegator.java:767:ERROR]
---- exception report ----------------------------------------------------------
Failure in create operation for entity [ServerHitBin]: org.ofbiz.entity.GenericEntityNotFoundException: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]. Rolling back transaction.
Exception: org.ofbiz.entity.GenericEntityNotFoundException
Message: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]
---- stack trace ---------------------------------------------------------------
org.ofbiz.entity.GenericEntityNotFoundException: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]
org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:538)
org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:493)
{code}
It appears that /framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java has a dependency on /applications/content/data/ContentTypeData.xml
ServerHitBin.java:
{code}
public static final int REQUEST = 1;
public static final int EVENT = 2;
public static final int VIEW = 3;
public static final int ENTITY = 4;
public static final int SERVICE = 5;
public static final String[] typeNames = {"", "Request", "Event", "View", "Entity", "Service"};
public static final String[] typeIds = {"", "REQUEST", "EVENT", "VIEW", "ENTITY", "SERVICE"};
{code}
ContentTypeData.xml
{code}
<ServerHitType description="Request" hitTypeId="REQUEST"/>
<ServerHitType description="Event" hitTypeId="EVENT"/>
<ServerHitType description="View" hitTypeId="VIEW"/>
<ServerHitType description="Entity" hitTypeId="ENTITY"/>
<ServerHitType description="Service" hitTypeId="SERVICE"/>
{code}
Can we move this seed data to somewhere within the framework folder?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-3501) ServerHitBin.java has a dependency on
content component
Posted by "chris snow (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
chris snow updated OFBIZ-3501:
------------------------------
Issue Type: Sub-task (was: Bug)
Parent: OFBIZ-3500
> ServerHitBin.java has a dependency on content component
> -------------------------------------------------------
>
> Key: OFBIZ-3501
> URL: https://issues.apache.org/jira/browse/OFBIZ-3501
> Project: OFBiz
> Issue Type: Sub-task
> Components: framework
> Affects Versions: SVN trunk
> Reporter: chris snow
>
> I have removed the applications and I am runing a standalone ofbiz. I receive an error message when using webtools:
> {code}
> 2010-02-24 10:22:36,827 (http-0.0.0.0-8443-6) [ ServerHitBin.java:606:WARN ] The datamodel data has not been loaded; cannot find hitTypeId 'REQUEST not storing ServerHit.
> 2010-02-24 10:22:36,832 (http-0.0.0.0-8443-6) [ GenericDelegator.java:767:ERROR]
> ---- exception report ----------------------------------------------------------
> Failure in create operation for entity [ServerHitBin]: org.ofbiz.entity.GenericEntityNotFoundException: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]. Rolling back transaction.
> Exception: org.ofbiz.entity.GenericEntityNotFoundException
> Message: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.entity.GenericEntityNotFoundException: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]
> org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:538)
> org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:493)
> {code}
> It appears that /framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java has a dependency on /applications/content/data/ContentTypeData.xml
> ServerHitBin.java:
> {code}
> public static final int REQUEST = 1;
> public static final int EVENT = 2;
> public static final int VIEW = 3;
> public static final int ENTITY = 4;
> public static final int SERVICE = 5;
> public static final String[] typeNames = {"", "Request", "Event", "View", "Entity", "Service"};
> public static final String[] typeIds = {"", "REQUEST", "EVENT", "VIEW", "ENTITY", "SERVICE"};
> {code}
> ContentTypeData.xml
> {code}
> <ServerHitType description="Request" hitTypeId="REQUEST"/>
> <ServerHitType description="Event" hitTypeId="EVENT"/>
> <ServerHitType description="View" hitTypeId="VIEW"/>
> <ServerHitType description="Entity" hitTypeId="ENTITY"/>
> <ServerHitType description="Service" hitTypeId="SERVICE"/>
> {code}
> Can we move this seed data to somewhere within the framework folder?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-3501) ServerHitBin.java has a dependency on
content component
Posted by "chris snow (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
chris snow updated OFBIZ-3501:
------------------------------
Issue Type: Bug (was: Sub-task)
Parent: (was: OFBIZ-3500)
> ServerHitBin.java has a dependency on content component
> -------------------------------------------------------
>
> Key: OFBIZ-3501
> URL: https://issues.apache.org/jira/browse/OFBIZ-3501
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: chris snow
> Attachments: CommonTypeData.xml.patch
>
>
> I have removed the applications and I am runing a standalone ofbiz. I receive an error message when using webtools:
> {code}
> 2010-02-24 10:22:36,827 (http-0.0.0.0-8443-6) [ ServerHitBin.java:606:WARN ] The datamodel data has not been loaded; cannot find hitTypeId 'REQUEST not storing ServerHit.
> 2010-02-24 10:22:36,832 (http-0.0.0.0-8443-6) [ GenericDelegator.java:767:ERROR]
> ---- exception report ----------------------------------------------------------
> Failure in create operation for entity [ServerHitBin]: org.ofbiz.entity.GenericEntityNotFoundException: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]. Rolling back transaction.
> Exception: org.ofbiz.entity.GenericEntityNotFoundException
> Message: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.entity.GenericEntityNotFoundException: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]
> org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:538)
> org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:493)
> {code}
> It appears that /framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java has a dependency on /applications/content/data/ContentTypeData.xml
> ServerHitBin.java:
> {code}
> public static final int REQUEST = 1;
> public static final int EVENT = 2;
> public static final int VIEW = 3;
> public static final int ENTITY = 4;
> public static final int SERVICE = 5;
> public static final String[] typeNames = {"", "Request", "Event", "View", "Entity", "Service"};
> public static final String[] typeIds = {"", "REQUEST", "EVENT", "VIEW", "ENTITY", "SERVICE"};
> {code}
> ContentTypeData.xml
> {code}
> <ServerHitType description="Request" hitTypeId="REQUEST"/>
> <ServerHitType description="Event" hitTypeId="EVENT"/>
> <ServerHitType description="View" hitTypeId="VIEW"/>
> <ServerHitType description="Entity" hitTypeId="ENTITY"/>
> <ServerHitType description="Service" hitTypeId="SERVICE"/>
> {code}
> Can we move this seed data to somewhere within the framework folder?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-3501) ServerHitBin.java has a dependency on
content component
Posted by "chris snow (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
chris snow updated OFBIZ-3501:
------------------------------
Attachment: CommonTypeData.xml.patch
> ServerHitBin.java has a dependency on content component
> -------------------------------------------------------
>
> Key: OFBIZ-3501
> URL: https://issues.apache.org/jira/browse/OFBIZ-3501
> Project: OFBiz
> Issue Type: Sub-task
> Components: framework
> Affects Versions: SVN trunk
> Reporter: chris snow
> Attachments: CommonTypeData.xml.patch
>
>
> I have removed the applications and I am runing a standalone ofbiz. I receive an error message when using webtools:
> {code}
> 2010-02-24 10:22:36,827 (http-0.0.0.0-8443-6) [ ServerHitBin.java:606:WARN ] The datamodel data has not been loaded; cannot find hitTypeId 'REQUEST not storing ServerHit.
> 2010-02-24 10:22:36,832 (http-0.0.0.0-8443-6) [ GenericDelegator.java:767:ERROR]
> ---- exception report ----------------------------------------------------------
> Failure in create operation for entity [ServerHitBin]: org.ofbiz.entity.GenericEntityNotFoundException: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]. Rolling back transaction.
> Exception: org.ofbiz.entity.GenericEntityNotFoundException
> Message: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.entity.GenericEntityNotFoundException: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]
> org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:538)
> org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:493)
> {code}
> It appears that /framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java has a dependency on /applications/content/data/ContentTypeData.xml
> ServerHitBin.java:
> {code}
> public static final int REQUEST = 1;
> public static final int EVENT = 2;
> public static final int VIEW = 3;
> public static final int ENTITY = 4;
> public static final int SERVICE = 5;
> public static final String[] typeNames = {"", "Request", "Event", "View", "Entity", "Service"};
> public static final String[] typeIds = {"", "REQUEST", "EVENT", "VIEW", "ENTITY", "SERVICE"};
> {code}
> ContentTypeData.xml
> {code}
> <ServerHitType description="Request" hitTypeId="REQUEST"/>
> <ServerHitType description="Event" hitTypeId="EVENT"/>
> <ServerHitType description="View" hitTypeId="VIEW"/>
> <ServerHitType description="Entity" hitTypeId="ENTITY"/>
> <ServerHitType description="Service" hitTypeId="SERVICE"/>
> {code}
> Can we move this seed data to somewhere within the framework folder?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-3501) ServerHitBin.java has a dependency
on content component
Posted by "chris snow (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838662#action_12838662 ]
chris snow commented on OFBIZ-3501:
-----------------------------------
Converted this sub-task back to a bug. Hope that someone will get a chance to commit the patch.
Many thanks,
Chris
> ServerHitBin.java has a dependency on content component
> -------------------------------------------------------
>
> Key: OFBIZ-3501
> URL: https://issues.apache.org/jira/browse/OFBIZ-3501
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: chris snow
> Attachments: CommonTypeData.xml.patch
>
>
> I have removed the applications and I am runing a standalone ofbiz. I receive an error message when using webtools:
> {code}
> 2010-02-24 10:22:36,827 (http-0.0.0.0-8443-6) [ ServerHitBin.java:606:WARN ] The datamodel data has not been loaded; cannot find hitTypeId 'REQUEST not storing ServerHit.
> 2010-02-24 10:22:36,832 (http-0.0.0.0-8443-6) [ GenericDelegator.java:767:ERROR]
> ---- exception report ----------------------------------------------------------
> Failure in create operation for entity [ServerHitBin]: org.ofbiz.entity.GenericEntityNotFoundException: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]. Rolling back transaction.
> Exception: org.ofbiz.entity.GenericEntityNotFoundException
> Message: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.entity.GenericEntityNotFoundException: Result set was empty for entity: [GenericEntity:ServerHitBin][serverHitBinId,10025(java.lang.String)]
> org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:538)
> org.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:493)
> {code}
> It appears that /framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java has a dependency on /applications/content/data/ContentTypeData.xml
> ServerHitBin.java:
> {code}
> public static final int REQUEST = 1;
> public static final int EVENT = 2;
> public static final int VIEW = 3;
> public static final int ENTITY = 4;
> public static final int SERVICE = 5;
> public static final String[] typeNames = {"", "Request", "Event", "View", "Entity", "Service"};
> public static final String[] typeIds = {"", "REQUEST", "EVENT", "VIEW", "ENTITY", "SERVICE"};
> {code}
> ContentTypeData.xml
> {code}
> <ServerHitType description="Request" hitTypeId="REQUEST"/>
> <ServerHitType description="Event" hitTypeId="EVENT"/>
> <ServerHitType description="View" hitTypeId="VIEW"/>
> <ServerHitType description="Entity" hitTypeId="ENTITY"/>
> <ServerHitType description="Service" hitTypeId="SERVICE"/>
> {code}
> Can we move this seed data to somewhere within the framework folder?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.