What is the format for a Client Request JMS message.
I am trying to send directly to the JMS queue to start a WLI process. From the Workshop browser, the message is received. However, when sending my own JMS message, WebLogic complains with an "Unexpected message format" onMessageException.
What is the correct format for a WLI Client Request node? A text message? Please help. Thanks - Frank.
Kai,
Thanks for the info. I have created a MB channel and a JMS event generator. But now it seems that my problem has simply been moved further out. Case in point: If I send a simple XML text message to the JMS event queue, the WebLogic JPD throws a MBConnectorException ("Could not determine channel type").
So I am wondering if this is still not the best practice to accomplish what I want. Should I be using a MDB which then simply calls a JCX control that knows how to talk to the WLI start node? The whole idea is that I want to start the workflow with a simple JMS message.
Thanks in advance,
Frank
Similar Messages
-
what is the format for 0calmonth2,0calquarter,0calweek,0calyear,0fiscper,0ficper3, 0halfyear1, 0weekday1
Hi Dominic,
0FISCPER is a NUMC 7 infoobject. And it takes your 003.200 seven symbols leaving the last symbol. Though, the output format is length of 8.
A'm not sure if you are dealing with external format (in this case try to enter 0032005) or with internal (then try 2005003).
Best regards,
Eugene -
I have an LG Revere 3-What is the format for ringtones?
I have an LG Revere 3-What is the format for ringtones?
Supported audio file format for LG Revere 3?
I asked this question about a month ago and didn't get a satisfactory answer. It seems like the phone software has not been updated from the VN150S in order to support bluetooth transfer of custom audio files. -
What is the format for the DATE date type in SQL
I just wanted to know what the format is for the Date type in Oracle 10g SQL. I need to be able to specify to the second, but not further than that. Thanks in advance.
Hi,
DATE format is configurable and can be easily changed. I suggest the function TO_DATE. For example:
to_date('10-20-2008', 'MM-DD-YYYY')
to_date('20/12/08 20:15', 'dd/mm/yyyy hh24:mi')Regards,
Miguel -
What is the format for contact numbers
Is it important to have parenthesis around area code when typing contacts and does that effect the notification screen when contact calls?
Doubt you're still looking, but I just put up a blog post on the format:
http://blog.lib.umn.edu/mcfa0086/discretecosine/160784.html -
What is the format for pandigital
I Have a Pandigital planet and can i load ibook to it$
No. Read the Requirements section on every purchase page in the iBookstore to find out what devices you need in order to read the ibook being described.
There are some exceptions, however. If the book is in epub format and has no DRM (mainly free books and those from O'Reilly), you may be able to read it on your device. To find an epub reader for your device you would have to consult the people who make it or their forums. -
HT4623 What is the format for the iOS7 passcode?
Numeric only, alpha numeric or just alpha? can i use symbols?
Find my iPad is a function of your iCloud account - in your iCloud account settings, "find my ipad" is a setting you enable or disable for the account. The password associated with it is your iCloud account's AppleID password.
The "Find my iPhone" app in the App store is used on an iOS device, to track other iOS devices, and again, you would need to log in there with the iCloud account password associated with the iCloud account on the missing device(s).
So no, the passcode lock has nothing at all to do with find my iPhone/iPad - that is purely a function of your iCloud account on each device. -
The initial exception that caused the request to fail, was:
com.sap.tc.useragent.UserAgentServiceException: Syntax Error in number '$4' of User-Agent Number Element ID 'engineVersion'.
at com.sap.tc.useragent.ElementTypeNumber.createElement(ElementTypeNumber.java:34)
at com.sap.tc.useragent.UserAgentElement.createElement(UserAgentElement.java:34)
at com.sap.tc.useragent.UserAgentElement.copy(UserAgentElement.java:71)
at com.sap.tc.useragent.UserAgentTemplate.instantiate(UserAgentTemplate.java:45)
at com.sap.tc.useragent.detection.RegExpDetector.detectUserAgent(RegExpDetector.java:33)
... 62 more
See full exception chain for details.
Failed to process request. Please contact your system administrator.
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
For further information about the Web Dynpro error page, error analysis and a description of well-known error situations, see SAP note 1113811.
Correction Hints
Exception could be caused by the development component: com.sap.tc.useragent.interface
Note: The above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases.
System Environment
Client
Web Dynpro Client Type AJAX Client
User agent Mozilla/5.0 (Android; Mobile; rv:24.0) Gecko/24.0 Firefox/24.0
Client Type ff
Client Type Profile nn7
ActiveX disabled
Java Applets enabled
Accessibility mode disabled
Inline CSS n/a
Validate by rendering true
Server
Web Dynpro Runtime vendor: 'sap.com', name: 'tc/wd/webdynpro', scV: 'sap.com', scN: 'WD-RUNTIME', location: 'SAP AG', counter: '7.3005.20130111125833.0000', R: '7.30', SP: '5', PL: '20', change number: '255333', codeline: NW730CORE_05_REL
J2EE Engine 7.30.3710.270166.20130816104554
System ID (SID) FP1
Server Node ID |13769650|137696|Server 00 01_137696|ciFP1/10.72.16.58|SERVER|RUNNING
Java VM SAP Java Server VM, version:6.1.038 19.1-b02, vendor: SAP AG
Operating system Linux, version: 2.6.32-220.el6.x86_64, architecture: amd64
Application
Java EE Application (deployable object) sap.com/pb
Web Dynpro Application PageBuilder
Request URI /webdynpro/resources/sap.com/pb/PageBuilder
Version vendor: 'sap.com', name: 'pb', scV: 'sap.com', scN: 'EP-RUNTIME', location: 'SAP AG', counter: '7.3005.20111228115104.0000', R: '7.30', SP: '5', PL: '4', change number: '160458'
Session & Other
Session Locale en_GB
Session Timezone India Standard Time
Time of Failure Sun Oct 27 09:59:27 IST 2013 (Java Time: 1382848167814)
Session User ClientUser(id=USER.PRIVATE_DATASOURCE.un:CC172020, name=CC172020)
Http Session Id 978BAO1ZCsh8JZ7REyIA575jsir4QQGyG9IA_SAP
Client Window Id WID1382848129974
Application Session Id CrXVdgZ0571vfwcUljh9Bw--Q4*zmQ0kblXVHMfCG18ZBg--
Web Dynpro Code Generation Infos
sap.com/pb
WD web module webdynpro/resources/sap.com/pb: SapDictionaryGenerationCore 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:24:28+0000, changelist=159000, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb: SapDictionaryGenerationTemplates 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:24:57+0000, changelist=159000, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb: SapGenerationFrameworkCore 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:14:41+0000,
WD web module webdynpro/resources/sap.com/pb: SapMetamodelCommon 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:17:37+0000, changelist=159372, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb: SapMetamodelCore 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:15:03+0000, changelist=159372, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb: SapMetamodelDictionary 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:20:22+0000, changelist=159002, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb: SapMetamodelWebDynpro 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:25:40+0000, changelist=159462, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb: SapWebDynproGenerationCore 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:37:46+0000, changelist=159461, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb: SapWebDynproGenerationTemplates 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:37:55+0000, changelist=159461, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb: SapWebDynproRuntimeGen 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:35:55+0000, changelist=159464, host=pwdfm257, is-central=true)
sap.com/pb_api
WD (release=NW730CORE_05_REL, buildtime=2011-12-28T16:24:57+0000, changelist=159000, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb_api: SapGenerationFrameworkCore 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:14:41+0000, changelist=159048, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb_api: SapIdeWebDynproCheckLayer 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:37:31+0000, changelist=159461, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb_api: SapMetamodelCommon 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:17:37+0000, changelist=159372, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb_api: SapMetamodelCore 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:15:03+0000, changelist=159372, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb_api: SapMetamodelDictionary 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:20:22+0000, changelist=159002, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb_api: SapMetamodelWebDynpro 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:25:40+0000, changelist=159462, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb_api: SapWebDynproGenerationCore 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:37:46+0000, changelist=159461, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb_api: SapWebDynproGenerationTemplates 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:37:55+0000, changelist=159461, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/pb_api: SapWebDynproRuntimeGen 7.3005.20111228114942.0000 (release=NW730CORE_05_REL, buildtime=2011-12-28T16:35:55+0000, changelist=159464, host=pwdfm257, is-central=true)
sap.com/tc~wd~api
WD web module webdynpro/resources/sap.com/tc~wd~api: SapDictionaryGenerationCore 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:27:04+0000, changelist=159000, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/tc~wd~api: SapDictionaryGenerationTemplates 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:27:18+0000, changelist=159000, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/tc~wd~api: SapGenerationFrameworkCore 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:05:47+0000, changelist=159048, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/tc~wd~api: SapIdeWebDynproCheckLayer 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:39:20+0000, changelist=180142, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/tc~wd~api: SapMetamodelCommon 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:10:50+0000, changelist=159372, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/tc~wd~api: SapMetamodelCore 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:07:26+0000, changelist=159372, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/tc~wd~api: SapMetamodelDictionary 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:22:41+0000, changelist=210375, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/tc~wd~api: SapMetamodelWebDynpro 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:27:36+0000, changelist=159462, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/tc~wd~api: SapWebDynproGenerationCore 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:39:36+0000, changelist=180142, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/tc~wd~api: SapWebDynproGenerationTemplates 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:39:43+0000, changelist=180142, host=pwdfm257, is-central=true)
WD web module webdynpro/resources/sap.com/tc~wd~api: SapWebDynproRuntimeGen 7.3005.20130109144853.0000 (release=NW730CORE_05_REL, buildtime=2013-01-11T17:37:00+0000, changelist=223591, host=pwdfm257, is-central=true)Oh man it looks like a problem with the web server.
Its an error that happens on SAP, even my dad reported an error like this to me but i wasn't able to solve it.
What i find is that its an error with browser incompatibility,
Check this http://scn.sap.com/message/10338540 -
What is the format of 0calmonth data in flat file
Hi,
What is the format for 0calmonth field data in flatfile to load data in to cube.
Thanks .Hi Alex,
Thanks for your response. Iam providing 0calmonth field data as 200904 ,200905 and further then at the time of loading it is throughing error like
Value '090420 ' of characteristic 0CALMONTH is not plausible BRAIN 27
Please suggest me.
Thanks. -
What are the settings for the "Default Client Settings"?
What are the settings for the "Default Client Settings"? I changed them instead of creating a new policy and would like to fix that.
Thanks
James A+, Network+, MCPHi,
The blogs below provides the default client settings.
Default Client Settings in SCCM 2012 SP1
http://prajwaldesai.com/default-client-settings-sccm-2012-sp1-sccm-2012-sp1/
Note: Microsoft provides third-party contact information to help you find technical
support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
Best Regards,
Joyce -
What are the settings for datasource and infopackage for flat file loading
hI
Im trying to load the data from flat file to DSO . can anyone tel me what are the settings for datasource and infopackage for flat file loading .
pls let me know
regards
kumarLoading of transaction data in BI 7.0:step by step guide on how to load data from a flatfile into the BI 7 system
Uploading of Transaction data
Log on to your SAP
Transaction code RSA1LEAD YOU TO MODELLING
1. Creation of Info Objects
In left panel select info object
Create info area
Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
Create new characteristics and key figures under respective catalogs according to the project requirement
Create required info objects and Activate.
2. Creation of Data Source
In the left panel select data sources
Create application component(AC)
Right click AC and create datasource
Specify data source name, source system, and data type ( Transaction data )
In general tab give short, medium, and long description.
In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
In proposal tab load example data and verify it.
In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
Activate data source and read preview data under preview tab.
Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
3. Creation of data targets
In left panel select info provider
Select created info area and right click to create ODS( Data store object ) or Cube.
Specify name fro the ODS or cube and click create
From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
Click Activate.
Right click on ODS or Cube and select create transformation.
In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
Activate created transformation
Create Data transfer process (DTP) by right clicking the master data attributes
In extraction tab specify extraction mode ( full)
In update tab specify error handling ( request green)
Activate DTP and in execute tab click execute button to load data in data targets.
4. Monitor
Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used.
Loading of master data in BI 7.0:
For Uploading of master data in BI 7.0
Log on to your SAP
Transaction code RSA1LEAD YOU TO MODELLING
1. Creation of Info Objects
In left panel select info object
Create info area
Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
Create new characteristics and key figures under respective catalogs according to the project requirement
Create required info objects and Activate.
2. Creation of Data Source
In the left panel select data sources
Create application component(AC)
Right click AC and create datasource
Specify data source name, source system, and data type ( master data attributes, text, hierarchies)
In general tab give short, medium, and long description.
In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
In proposal tab load example data and verify it.
In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
Activate data source and read preview data under preview tab.
Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
3. Creation of data targets
In left panel select info provider
Select created info area and right click to select Insert Characteristics as info provider
Select required info object ( Ex : Employee ID)
Under that info object select attributes
Right click on attributes and select create transformation.
In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
Activate created transformation
Create Data transfer process (DTP) by right clicking the master data attributes
In extraction tab specify extraction mode ( full)
In update tab specify error handling ( request green)
Activate DTP and in execute tab click execute button to load data in data targets. -
Re: (forte-users) Ok, what's the "secret" for setting serverside envi
Dear Robinson,
It seems to be that you have 2 ways of solving the problem:
1) restart forte after setting the environment variables
2) write a little application which sets the required variables, using
the task.part.OperatingSystem.SetEnv(name,value) method.
If you have to chage the variables rarely, then it`s easier to restart forte,
otherwise I would suggest to use the SetEnv function...
Best Regards,
Tamas Deak
"Robinson, Richard" wrote:
Subject says it all.
We have a bunch of environment variables that are used by the server side
objects. What I want to do is change the value of some of the variables
prior to running my application in Forte Development IDE (3.0.G.2). I've
tried to set the environment variables via NT's registry, but it appears
that at execution time the variables take on the value of whatever they are
for the node manager.
Most IDE's I've worked with before have a way to specify environment
variables right in the tool. Forte doesn't appear to have that capability -
say it ain't so!
Any clues?
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: [email protected]
Tamas Deak
Lufthansa Systems Hungary
(forte developer)
2-6 Mazsa ter, Budapest, 1107, HUNGARY
(36-1) 4312 973
[email protected]
[email protected][email protected]-Richard,
There is no way of changing the environment variable once the Node
Manager is up. You will have to shutdown the node manager and then restart
it to have the new environment variables take effect. Sorry, there is no
secret way of doing this that I know of.
But you can set the variables on you development machine and run you
application without distributing. This way the partition will be running in
your client machine and not the server.
Another way we have also got around this is by having a special
environment variable on the client side that opens a admin screen when you
run you application. This admin screen will allow you to change the
environment variables and then set them on the server partition. You will
have to do come coding on the server to make this happen but if you are
using a framework then it should be easy. We call this developer reconnect
facility. It only can be activated by the special client side environment
variable. I comes in very handy when we are development and want to change
the database on the server partition.
Hope this help.
ka
Kamran Amin
Framework, Inc.
303 South Broadway
Tarrytown, NY 10591
(914) 631-2322x121
[email protected]
http://www.frameworkinc.com/
-----Original Message-----
From: Robinson, Richard [mailto:[email protected]]
Sent: Thursday, November 04, 1999 7:23 AM
To: [email protected]
Subject: (forte-users) Ok, what's the "secret" for setting server side
environment varia bles when running in the Forte Development
Environment?
Subject says it all.
We have a bunch of environment variables that are used by the server side
objects. What I want to do is change the value of some of the variables
prior to running my application in Forte Development IDE (3.0.G.2). I've
tried to set the environment variables via NT's registry, but it appears
that at execution time the variables take on the value of whatever they are
for the node manager.
Most IDE's I've worked with before have a way to specify environment
variables right in the tool. Forte doesn't appear to have that capability -
say it ain't so!
Any clues?
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: [email protected] -
What's the format of the datasource tag in jbosscmp-jdbc.xml
Hi,
I made a CMP when I use Lomboz to generate the classes, and xml files, but I still don't know how to relate my CMP to datasource.
I thought may be I should configure the jbosscmp-jdbc.xml, because when I look in this file and found:
<defaults>
<datasource>PLEASE_MODIFY_THIS</datasource>
<datasource-mapping>PLEASE_MODIFY_THIS</datasource-mapping>
<preferred-relation-mapping>PLEASE_MODIFY_THIS</preferred-relation-mapping>
</defaults>
But I don't know how to "modify this", What do those tags mean? what are those for? and what are the Formats?
My database -- mySQL
datasouce xml file -- test-ds.xml:
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/test</jndi-name>
<connection-url>jdbc:mysql://devsz-ma3.cn1.belton.com.hk:3306/test?useUnicode=true&characterEncoding=UTF-8</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>touchpanel</user-name>
<password>touchpanel</password>
</local-tx-datasource>
</datasources>
I need help, can you tell me some about that, thanks
next is my CMP entity bean:
package ejb.product;
import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.RemoveException;
* @ejb.bean name="Product"
* jndi-name="ProductBean"
* type="CMP"
* primkey-field="productId"
* schema="Product"
* cmp-version="2.x"
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.bean ejb-name="Product"
* jndi-name="ProductBean"
* @jonas.jdbc-mapping jndi-name="jdbc/test" jdbc-table-name="FL_PRODUCT"
* @ejb.persistence
* table-name="FL_PRODUCT"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product as a"
* signature="java.util.Collection findAll()"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product a where a.NAME = ?1"
* signature="java.util.Collection findByName(java.lang.String name)"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product a where a.DESCRIPTION = ?1"
* signature="java.util.Collection findByDescription(java.lang.String desc)"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE = ?1"
* signature="java.util.Collection findByBasePrice(double basePrice)"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product "
* signature="java.util.Collection findAllProducts()"
* @ejb.finder
* query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE > ?1"
* signature="java.util.Collection findExpensiveProduct(double maxPrice)"
* * @ejb.finder
* query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE < ?1"
* signature="java.util.Collection findCheapProduct(double minPrice)"
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.finder-method-jdbc-mapping method-name="findAll"
* jdbc-where-clause=""
* @jonas.jdbc-mapping jndi-name="jdbc/test"
* jdbc-table-name="FL_PRODUCT"
public abstract class ProductBean implements EntityBean {
protected EntityContext ectx;
* The ejbCreate method.
* @ejb.create-method
public java.lang.String ejbCreate(String productId, String name, String desc,double basePrice) throws javax.ejb.CreateException {
// EJB 2.0 spec says return null for CMP ejbCreate methods.
// TODO: YOU MUST INITIALIZE THE FIELDS FOR THE BEAN HERE.
// setMyField("Something");
System.out.println("Entering ProductBean.ejbCreate()");
setProductId(productId);
setName(name);
setDescription( desc);
setBasePrice(basePrice);
System.out.println("Leaving ProductBean.ejbCreate()");
return productId;
* The container invokes this method immediately after it calls ejbCreate.
public void ejbPostCreate(String productId, String name, String desc,double basePrice) throws javax.ejb.CreateException {
* Returns the productId
* @return the productId
* @ejb.persistent-field
* @ejb.persistence
* column-name="PRODUCT_ID"
* sql-type="varchar"
* @ejb.pk-field
* @ejb.interface-method
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.cmp-field-jdbc-mapping field-name="productId"
* jdbc-field-name="PRODUCT_ID"
public abstract java.lang.String getProductId();
* Sets the productId
* @param java.lang.String the new productId value
* @ejb.interface-method
public abstract void setProductId(java.lang.String productId);
* Returns the name
* @return the name
* @ejb.persistent-field
* @ejb.persistence
* column-name="NAME"
* sql-type="varchar"
* @ejb.interface-method
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.cmp-field-jdbc-mapping field-name="name"
* jdbc-field-name="NAME"
public abstract java.lang.String getName();
* Sets the name
* @param java.lang.String the new name value
* @ejb.interface-method
public abstract void setName(java.lang.String name);
* Returns the description
* @return the description
* @ejb.persistent-field
* @ejb.persistence
* column-name="DESCRIPTION"
* sql-type="varchar"
* @ejb.interface-method
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.cmp-field-jdbc-mapping field-name="description"
* jdbc-field-name="DESCRIPTION"
public abstract java.lang.String getDescription();
* Sets the description
* @param java.lang.String the new description value
* @ejb.interface-method
public abstract void setDescription(java.lang.String description);
* Returns the basePrice
* @return the basePrice
* @ejb.persistent-field
* @ejb.persistence
* column-name="BASE_PRICE"
* sql-type="double"
* @ejb.interface-method
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.cmp-field-jdbc-mapping field-name="basePrice"
* jdbc-field-name="BASE_PRICE"
public abstract double getBasePrice();
* Sets the basePrice
* @param double the new basePrice value
* @ejb.interface-method
public abstract void setBasePrice(double basePrice);
/* (non-Javadoc)
* @see javax.ejb.EntityBean#ejbActivate()
public void ejbActivate() throws EJBException, RemoteException {
System.out.println("ejbActivate() called.");
/* (non-Javadoc)
* @see javax.ejb.EntityBean#ejbLoad()
public void ejbLoad() throws EJBException, RemoteException {
System.out.println("ejbLoad() called.");
/* (non-Javadoc)
* @see javax.ejb.EntityBean#ejbPassivate()
public void ejbPassivate() throws EJBException, RemoteException {
System.out.println("ejbPassivate() called.");
/* (non-Javadoc)
* @see javax.ejb.EntityBean#ejbRemove()
public void ejbRemove() throws RemoveException, EJBException, RemoteException {
System.out.println("ejbRemove() called.");
/* (non-Javadoc)
* @see javax.ejb.EntityBean#ejbStore()
public void ejbStore() throws EJBException, RemoteException {
System.out.println("ejbStore() called.");
/* (non-Javadoc)
* @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
public void setEntityContext(EntityContext arg0) throws EJBException, RemoteException {
this.ectx = arg0;
/* (non-Javadoc)
* @see javax.ejb.EntityBean#unsetEntityContext()
public void unsetEntityContext() throws EJBException, RemoteException {
this.ectx = null;
}you can try this
<defaults>
<datasource>java:/jdbc/test</datasource>
<datasource-mapping>MySQL</datasource-mapping>
<create-table>false</create-table>
<remove-table>false</remove-table>
</defaults>
JaimeS -
What is the alternative for DisplayMemberPath="Value" for Windows Store applications?
I think there is a bug with Windows Store Applications when it comes to using DisplayMemberPath="Value".
Here is my code
<ComboBox Height="40" VerticalAlignment="Stretch" SelectedValuePath="Key" DisplayMemberPath="Value" x:Name="comboBox1" FontSize="25"/>
var source = new Dictionary<string, double>();
source.Add("Item1", 0.4);
source.Add("Item2", 0.3);
source.Add("Item3", 0.1);
source.Add("Item4", 0.1);
var formateDSource = new Dictionary<string, string>();
foreach (var item in source)
formateDSource.Add(string.Format("[{0}, {1}]", item.Key, item.Value), item.Key);
comboBox1.ItemsSource = source;
If you use this code in WPF in works perfectly. However if you use this code in a Windows Store Application then the Combo Box is empty and an error is thrown. So is there an alternative way to do this in Windows Store Applications and have I unearthed a
bug? Because I have researched the Web for days and found no solution to this.*please do not comment unless you have tried my code as a Windows Store App not a WPF in Visual Studios. Can Someone post an example based on my code that works in Windows Store
Apps please because this is terrible.
ThanksIt looks like you got an answer on SO:
http://stackoverflow.com/questions/29817124/what-is-the-alternative-for-displaymemberpath-value-for-windows-store-applicat
This does look like a bug.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
What are the settings for Primere Elements 9 if I've filmed with a Canon Powershot sx50 HS?
I just got this camera and I want the best quality possible. Unfortunately, it's hard for me to fully know if the settings I try create that. I get a fuzz or noise on objects like if I'm wearing a black jacket it's like static. When I put the video on my phone which is an Android Galaxy s4 it converts it into mp4 format and I get much more clear results than on my computer which perplexes me. I did a lot of trial and error with my previous camera (JVC Full HD Everio) which I got the same results. My newer Canon should be leagues ahead of the JVC, but I really can't tell as of yet. If anyone could help that would be awsome. I have examples of my trials and errors from my Youtube videos which you can see I felt I was slowly making progress with the JVC Oppositeofhood - YouTube
Opposite
Then I saw your latest post
Wait, I think I just found it. I pressed record on different settings to take pictures with like portrait to see if it would make a difference and when I uploaded them to my computer I found where it shows the BIt rate and it varied. They run at 23 frames per second 1920 x 1080 MOV video files and all the Bit rates are like 36,356 35,414 ,36,521
If your camera is recording with a variable bitrate, the Bitrate variations from file to file should not be contributing to the issue. But it does raise the issue related to whether or
not we are setting the appropriate bitrate level in the export settings. What are the units for 36,356, 35,414, and 36,517 -
kbps (also can be written Kbps) and is kilobits per second
or
Mbps which is megabits per second.
Let us try this for one of your 1920 x 1080p24 videos.
Go through the following workflow
Manually set project preset...
NTSC
DSLR
1080p
DSLR 1080p24
When you go to export your edited Timeline content, then use
Share
Computer
QuickTime
with Presets = NTSC DV 16:9 - that is going to be customized to 1080p24 (H.264.mov) under the Advanced Button/Video Tab of that preset
The essential settings under the Advanced Button/Video Tab
Video Codec = H.264
Frame Width = 1920
Frame Height = 1080
Frame Rate = 23.976
Field Type = Progressive
Aspect = Square Pixels (1.0)
Now here is where we are going to experiment....
Bitrate
Check Mark next to Limit Data Rate to and type in 36000 before kbps
note the file size of the export as well as the quality of the playback.
Repeat the whole process but in export
Remove the check mark next to Limit Data Rate. The Bitrate field will be disabled.
note the file size of the export as well as the quality of the playback.
We will be watching for your results.
Thanks.
ATR
Maybe you are looking for
-
Show different key fields for different caracteristics in the column.
Hi, experts I am creating a query where there are 4 colomns reprensenting 4 different dates. But I would like to display diffferent key fields for them. For example, under DAY 1, i would like to diplay KeyField 1, for DAY2, DAY3 and DAY4, KeyField 2
-
How can I connect Cinema Display to Macbook?
I just bought a Mini-DVI to VGA adapter to connect my Macbook to my Cinema Display 23", but I am realizing this adapter is probably not what I need as the Cinema HD Display has a different, larger connector that doesn't match the other end of my adap
-
In which table can i add "pdf" as possible type of attachment to WF?
Hi, Who knows the table name where i could add "pdf" as possible type of attachment to the workflow? In a workflow step i want an agent to create an attachement. When the user clicks the paperclip-icon he/she is presented a small screen, first requir
-
Soft KeyBoard is not working on ios 7 with Air sdk 3.8
Hi In my app Soft KeyBoard is not working on ios 7 with Air sdk 3.8. Does any one know soluton for this ?
-
How do I get sound on my TV from mo macbook pro?
How do I get sound on my TV from mo macbook pro?