J2eetutorial14 example help..
Hi,
I am new to Java technology & trying for servlet...
while working with tutorial trying >asant build results in to an error c:\lib not found (!!!!)
CLASSPATH is set in my env variable... I copied another example (java file) from ibm site and successfully compile it only after setting CLASSPATH...
CLASSPATH = c:\sun\AppServer\lib\j2ee.jar
Thanks in advance
Yogesh
web.xml is the 'deployment descriptor'. It's a part of the specification for j2ee webapps. It typically contains details for configuring your application, resource mappings etc.
create a folder by name printapp in webapps of tomcat
create a folder by name 'WEB-INF' isnide printapp
create a folder by name classes inside WEB-INF
create a file by name web.xml and copy the following into it.
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<servlet>
<servlet-name>Simple</servlet-name>
<servlet-class>simple.SimplePrint</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Simple</servlet-name>
<url-pattern>/simple</url-pattern>
</servlet-mapping>
</webapp>
put the web.xml into WEB-INF.
Compile your servlet (ensure you have a package statement on top in the servlet source - sthing like - package simple;) into classes folder of web-inf
+printapp
- WEB-INF
- web.xml
+ classes
simple.SimplePrint (with the package folder)
restart tomcat and access as http://localhost:8080/printapp/simple
All the best. Search these forums there are infinite no. of examples
Similar Messages
-
I think I have gotten around the javai.dll problem by starting weblogic
server from the setenv.cmd and startWeblogic.cmd. Is this right?
I am trying to get the example appps to work but tehy won't. It keeps
telling me the classes are not found. I have set JAVA_HOME to c:\jdk1.3 and
I am using v.5.1. I have gone through the "Setting Your Development
Environment" helpfile and none of that has seemed to help me. I am running
this on NT server sp6. Can anyone point me in the right direction?"Jesse E Tilly" <[email protected]> wrote in message
news:[email protected]..
>
But, to your problem. Things I would like to know include which JRE's are
installed and which one was the last installed. I'd also like to knowyour
system PATH (another thing configurable in a script, and thus easily
changed or debugged). Here are the things I'll be looking for: multiple
JRE's in the path, JRE registry confusion.WL_HOME is set as c:\weblogic
JAVA_HOME is set as c:\jdk1.3
PATH is set as %WL_HOME%\bin;%JAVA_HOME%:PATH
So after running setenv.cmd my PATH is
c:\weblogic\bin;c:\jdk1.3\bin;c:\WINNT\system32;c:\WINNT;c:\programfiles\MTS
;e:\MSSQL7\bin
e is my other drive
You can try this for kicks. Uninstall WebLogic and your JDK/JREs (JDK's
include JREs). Install JDK 1.2.2 and WebLogic. (Make no properties
changes) Start WebLogic from the Start menu and open a browser. Go to
http://localhost:7001/session (one of the example servlets already
installed and registered). This should work. If not either my memory
about the base install is off (unlikely) or you have a registry conflict
(previous installation of WebLogic, JDK, etc). Search the machine for
javai.dll and see what you find.I have never been able to find Javai.dll, before or after changing JAVA_HOME
which is what starts the problem.
When I run the localhost URL it works fine(thanks) but none of the examples
do. What could I be setting incorrectly for the Development environment?
Thanks for your help -
A few months back I stumbled across a fantastic example of Keynote on the Apple web site. It was not a video tutorial, but an actual presentation that allowed one to dissect and inspect how it was put together.
I have been searching and searching for this but it seems that it has been pulled off the site.
Does anyone either have a copy or know where I can get one? I am desperate for high tech examples from keynote and that one was perfect.
Any help would be GREATLY appreciated.I'm not sure if it's .ppt, they are saved on my desktop, and i tried opening keynote and i clicked on file open but the powerpoint presentations weren't in bold so I couldn't click on them. I put them in my documents rather than on my desktop but I still couldn't open them, also I tried the other suggestion of clicking and pressing control and trying to pick the application to open them but Keynote wasn't in bold so I couldn't click on it. Any other suggestions whould be appreciated.
-anaira~~~ -
Hi,
I am looking for "real life" examples using the dbms_obfuscation_toolkit. We are trying to encrypt/decrypt social security numbers stored in our person information table. Any and all help would be greatly appreciated!Cool article. However, something to note:
If your input message is not a multiple of 8 bytes, you will get this weird error which doesn't really tell you much:
ERROR at line 1:
ORA-28232: invalid input length for obfuscation toolkit
ORA-06512: at "SYS.DBMS_OBFUSCATION_TOOLKIT_FFI", line 21
ORA-06512: at "SYS.DBMS_OBFUSCATION_TOOLKIT", line 115
ORA-06512: at line 7
So something to watch out for. -
Internationalised Example Help Needed
My goal here is to put together an easily understandable example of an Internationalised stand-alone java application.
To start, I would like to create a stand-alone java application that performs the following tasks:
1. Has a pulldown that allows a user to select a language (English, Arabic, Korean, Greek, etc.) When the language is selected, I want to change the properties of a JTextFild so that when a user types in the JTextField, the characters that come out in the JTextField are in the language that was selected in the pulldown. I know how to create the pulldown, but how do I change the properties of the TextField dynamically?
2. I have a JButton that, when pressed, stores the language selected AND the characters in the JTextField into a Sybase Database. It also adds the same info to a JList that displays a list of text strings (in the language that they were entered) with their selected language (in English). My questions here are:
- How should I store the text in the database (Hex or Unicode?)
- Is it possible to have a JList display different languages on different lines within the list?
- Is there a generic font that can display ALL types of languages?
Any help (especially code samples) would be greatly appreciated. I have read the tutorials on this site, but I didn't see anything that would help.What do you mean when you say "the characters that come out in the JTextField are in the language that was selected in the pulldown"? The characters that are displayed in the field depend on the characters that the user inputs. There are no properties to change.
2. I have a JButton that, when pressed, stores the
language selected AND the characters in the
JTextField into a Sybase Database. It also adds the
same info to a JList that displays a list of text
strings (in the language that they were entered) with
their selected language (in English). My questions
here are:
- How should I store the text in the database (Hex
Hex or Unicode?)I don't know Sybase, so there may be implementation-specific issues, but for the DBs that I know, it would only make sense to configure the DB to store eveything in Unicode. If you store hex values, the DB will not be able to perform locale-dependent collation, etc.
>
- Is it possible to have a JList display different
ent languages on different lines within the list?
Yes, why not? As long as everything is in Unicode, you can display anything you want anywhere you want (single characters alternating, for that matter)
- Is there a generic font that can display ALL
ALL types of languages?Well, there are Unicode fonts that support MOST languages, but I think there will always be edge cases with new character sets that have only recently been added to the Unicode standard.
Any help (especially code samples) would be greatly
appreciated. I have read the tutorials on this site,
but I didn't see anything that would help.In that case I recommend that you find some of the books on Java internationalization and study them. A simple Google search will also give you some helpful links. -
About the dukesbank example,help!
help...help........h..........e.........l.....p!!!!!!!
hi,
i need the dukesbank example to study ,but i can't find it ,where can i to download the example ?i have downloaded the j2ee sdk ,but not in it.Sun~~! how can you do this!download the java EE 5 tutorial (a .zip file). That has the examples in it, amongst them dukesbank.
-
JDBCDataSourceRuntimeMBean Example - Help?
Hi everyone,
I have a need to be able to suspend and resume a Weblogic 10.0 datasource in an integration test that is running outside of the container. The reason is that I am wanting to do this is to assert the behaviour of my application when a given database is not available temporarily.
After looking at the Weblogic 10.0 documentation it seems I should use Weblogic's JDBCDataSourceRuntimeMBean for this purpose.
So what I need is example code that shows me how to get a handle on the JDBCDataSourceRuntimeMBean for a given datasource from outside of the container and use it to call suspend and resume MBean methods.
The examples in the edocs site are very hard to for a JMX newbie such as myself to understand and don't seem to be applicable to what I want to do.
If someone could help me with the actual code to do this I would greatly greatly appreciate it.
So far I have the following. It's the bit with the ??? I am struggling with.
private MBeanServerConnection connection;
private JMXConnector connector;
public void initConnection(String protocol, String hostname, String portString,
String username, String password) throws IOException,
MalformedURLException {
Integer portInteger = Integer.valueOf(portString);
int port = portInteger.intValue();
String jndiroot = "/jndi/";
String mserver = "weblogic.management.mbeanservers.domainruntime";
JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port,
jndiroot + mserver);
Hashtable<String, Object> h = new Hashtable<String, Object>();
h.put(Context.SECURITY_PRINCIPAL, username);
h.put(Context.SECURITY_CREDENTIALS, password);
h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,
"weblogic.management.remote");
h.put("jmx.remote.x.request.waiting.timeout", new Long(10000));
connector = JMXConnectorFactory.connect(serviceURL, h);
connection = connector.getMBeanServerConnection();
private JDBCDataSourceRuntimeMBean getDataSourceMBean() {
//need help here - how do I get a reference to the MBean for my datasource???
private void disableDataSource() throws Exception {
JDBCDataSourceRuntimeMBean jdbcMBean = getDataSourceMBean();
jdbcMBean.suspend();
private void reenableDataSource() throws Exception {
JDBCDataSourceRuntimeMBean jdbcMBean = getDataSourceMBean();
jdbcMBean.resume();
}Kindest Regards,
Graeme.
Edited by graeme.miller at 04/13/2008 10:55 PMHello.
Comment out or remove this section
/* comment out following if statement if you don't care about only showing one at a time */
if(html_GetElement('P2_MULTIPLE').checked==false && g_LastRowOpened && g_LastRowOpened != l_TR){
ShowHideDetailRow(g_LastDetailLabel,l_ThisTable,g_LastRowOpened,i); //hides last row shown and resets label
or add a checkbox item to the page P2_MULTIPLE
I also suggest debugging javascript using Firefox and the Firebug extension. http://www.getfirebug.com/ the instant I clicked the Show Detail it showed me right were the problem was. Even if your web audience is 100% IE when when developing the Firefox Firebug combination is the way to go you can always just use IE to QA.
Carl -
Carl I found your example located at
http://apex.oracle.com/pls/otn/f?p=11933:13:3295006254376178
I have a report with a column that is a clob and was wondering if it is possible to use it as part of this example? I have been unsuccessful so far.
I first created the following on demand process and call it from my report page.
declare
l_Id varchar2(4000);
l_String clob;
begin
select OUTAGE_SUMMARY into l_String from "NEW_OUTAGE" where id = v('TEMPORARY_ITEM');
htp.p('<pre>'||l_String||'</pre>');
end;
Then I created the following query
select "ID",
"START_DATE",
"END_DATE",
div onclick="showdetail(this,'|| "ID" ||')" style="cursor:hand;cursor:pointer;text-decoration:underline;font-weight:bold;">show_detail</div> detail
from "NEW_OUTAGE""
I also pasted your javascript into the HTML header of my report page. At this point I'm unsure if I need to create an item for temporary_item being called in my on demand process and in the ShowHideDeatilRow function of your script.
Please help or is it not possible to implement this with a clob column?Hello.
Comment out or remove this section
/* comment out following if statement if you don't care about only showing one at a time */
if(html_GetElement('P2_MULTIPLE').checked==false && g_LastRowOpened && g_LastRowOpened != l_TR){
ShowHideDetailRow(g_LastDetailLabel,l_ThisTable,g_LastRowOpened,i); //hides last row shown and resets label
or add a checkbox item to the page P2_MULTIPLE
I also suggest debugging javascript using Firefox and the Firebug extension. http://www.getfirebug.com/ the instant I clicked the Show Detail it showed me right were the problem was. Even if your web audience is 100% IE when when developing the Firefox Firebug combination is the way to go you can always just use IE to QA.
Carl -
Problem with Multi File upload example, help needed
I got the code from the following location.....
http://www.adobe.com/devnet/coldfusion/articles/multifile_upload.html
And I've got it to work to some degree except I cant get the file transfer to work when pressing, Upload. Below is what my debugger outputs. Any thoughts on how to fix this or even what it means?
At the very bottom of this message is the upload.cfm code.......
Thanks in advance for the help
<html>
<head>
<title>Products - Error</title>
</head>
<body>
<h2>Sorry</h2>
<p>An error occurred when you requested this page.
Please email the Webmaster to report this error.
We will work to correct the problem and apologize
for the inconvenience.</p>
<table border=1>
<tr><td><b>Error Information</b> <br>
Date and time: 12/07/09 22:25:51 <br>
Page: <br>
Remote Address: 67.170.79.241 <br>
HTTP Referer: <br>
Details: ColdFusion cannot determine how to process the tag <CFDOCUMENT>. The tag name may be misspelled.<p>If you are using tags whose names begin with CF but are not ColdFusion tags you should contact Allaire Support. <p>The error occurred while processing an element with a general identifier of (CFDOCUMENT), occupying document position (41:4) to (41:70).<p>The specific sequence of files included or processed is:<code><br><strong>D:\hshome\edejham7\edeweb.com\MultiFileUpload\upload.cfm </strong></code><br>
<br>
</td></tr></table>
</body>
</html>
<!---
Flex Multi-File Upload Server Side File Handler
This file is where the upload action from the Flex Multi-File Upload UI points.
This is the handler the server side half of the upload process.
--->
<cftry>
<!---
Because flash uploads all files with a binary mime type ("application/ocet-stream") we cannot set cffile to accept specfic mime types.
The workaround is to check the file type after it arrives on the server and if it is non desireable delete it.
--->
<cffile action="upload"
filefield="filedata"
destination="#ExpandPath('\')#MultiFileUpload\uploadedfiles\"
nameconflict="makeunique"
accept="application/octet-stream"/>
<!--- Begin checking the file extension of uploaded files --->
<cfset acceptedFileExtensions = "jpg,jpeg,gif,png,pdf,flv,txt,doc,rtf"/>
<cfset filecheck = listFindNoCase(acceptedFileExtensions,File.ServerFileExt)/>
<!---
If the variable filecheck equals false delete the uploaded file immediatley as it does not match the desired file types
--->
<cfif filecheck eq false>
<cffile action="delete" file="#ExpandPath('\')#MultiFileUpload\uploadedfiles\#File.ServerFile#"/>
</cfif>
<!---
Should any error occur output a pdf with all the details.
It is difficult to debug an error from this file because no debug information is
diplayed on page as its called from within the Flash UI. If your files are not uploading check
to see if an errordebug.pdf has been generated.
--->
<cfcatch type="any">
<cfdocument format="PDF" overwrite="yes" filename="errordebug.pdf">
<cfdump var="#cfcatch#"/>
</cfdocument>
</cfcatch>
</cftry>Just 2 things in my test:
1) I use no accept attribute. Coldfusion is then free to upload any extenstion.
Restricting the type to application/octet-stream may generate errors. Also, it is unnecessary, because we perform a type check anyway.
2) I have used #ExpandPath('.')#\ in place of #ExpandPath('\')#
<cfif isdefined("form.filedata")>
<cftry>
<cffile action="upload"
filefield="filedata"
destination="#expandPath('.')#\MultiFileUpload\uploadedfiles\"
nameconflict="makeunique">
<!--- Begin checking the file extension of uploaded files --->
<cfset acceptedFileExtensions = "jpg,jpeg,gif,png,pdf,flv,txt,doc,rtf"/>
<cfset filecheck = listFindNoCase(acceptedFileExtensions,File.ServerFileExt)/>
<!---
If the variable filecheck equals false delete the uploaded file immediatley as it does not match the desired file types
--->
<cfif filecheck eq false>
<cffile action="delete" file="#ExpandPath('.')#\MultiFileUpload\uploadedfiles\#File.ServerFile#"/>
<cfoutput>Uploaded file deleted -- unacceptable extension (#ucase(File.ServerFileExt)#)</cfoutput>.<br>
</cfif>
Upload process done!
<cfcatch type="any">
There was an error!
<cfdocument format="PDF" overwrite="yes" filename="errordebug.pdf">
<cfdump var="#cfcatch#"/>
</cfdocument>
</cfcatch>
</cftry>
<cfelse>
<form method="post" action=<cfoutput>#cgi.script_name#</cfoutput>
name="uploadForm" enctype="multipart/form-data">
<input name="filedata" type="file">
<br>
<input name="submit" type="submit" value="Upload File">
</form>
</cfif> -
hello experts,
are there any example using function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' with editable columns.
Or, have somebody an idea to resolve my problem.
I can edit the fields in the alv-grid, but I don't see the changes in the internal table using 'LVC_TRANSFER_FROM_SLIS' function.
thanks and regards.
K. WErnerhi,
here is the code for editable Hieararchical ALV
TYPE-POOLS : slis.
TABLES : mseg.
DATA : BEGIN OF itab_head OCCURS 0,
mat LIKE mseg-matnr,
* matnr LIKE mseg-matnr,
werks LIKE mseg-werks,
END OF itab_head.
DATA : BEGIN OF itab_item OCCURS 0,
* mat LIKE mseg-matnr,
matnr LIKE mseg-matnr,
werks LIKE mseg-werks,
mblnr LIKE mseg-mblnr,
menge LIKE mseg-menge,
END OF itab_item.
DATA : t_fcat TYPE slis_t_fieldcat_alv,
key_info TYPE slis_keyinfo_alv,
t_eve TYPE slis_t_event,
gt_subtot TYPE slis_t_sortinfo_alv,
subtot LIKE LINE OF gt_subtot,
t_listhead TYPE slis_t_listheader,
st_line TYPE slis_listheader.
DATA : lin_no TYPE i.
DATA : t_mtdoc LIKE mseg-mblnr.
SELECT-OPTIONS : mat FOR mseg-matnr.
INITIALIZATION.
PERFORM build_cat USING t_fcat.
PERFORM build_eve.
START-OF-SELECTION.
PERFORM get_data.
PERFORM dis_data.
*& Form build_cat
* text
* -->TEMP_FCAT text
FORM build_cat USING temp_fcat TYPE slis_t_fieldcat_alv.
DATA : wa_fcat TYPE slis_fieldcat_alv.
wa_fcat-tabname = 'ITAB_HEAD'.
wa_fcat-fieldname = 'MAT'.
wa_fcat-seltext_m = 'Material'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'ITAB_HEAD'.
wa_fcat-fieldname = 'WERKS'.
wa_fcat-seltext_m = 'Plant'.
wa_fcat-edit = 'X'.
wa_fcat-input = 'X'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'ITAB_ITEM'.
wa_fcat-fieldname = 'MBLNR'.
wa_fcat-seltext_m = 'Material Doc.'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'ITAB_ITEM'.
wa_fcat-fieldname = 'MENGE'.
wa_fcat-seltext_m = 'Quantity'.
wa_fcat-edit = 'X'.
wa_fcat-input = 'X'.
wa_fcat-do_sum = 'Y'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
subtot-spos = 1.
subtot-fieldname = 'MAT'.
subtot-tabname = 'ITAB_HEAD'.
subtot-up = 'X'.
subtot-group = 'X'.
subtot-subtot = 'X'.
subtot-expa = 'X'.
APPEND subtot TO gt_subtot.
ENDFORM. "build_cat
*& Form build_eve
* text
FORM build_eve.
DATA : wa_eve TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = t_eve
* EXCEPTIONS
* LIST_TYPE_WRONG = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE t_eve INTO wa_eve WITH KEY name = 'TOP_OF_PAGE'.
IF sy-subrc = 0.
wa_eve-form = 'TOP_OF_PAGE'.
MODIFY t_eve FROM wa_eve INDEX sy-tabix.
ENDIF.
ENDFORM. "build_eve
*& Form get_data
* text
FORM get_data.
SELECT matnr werks mblnr menge FROM mseg INTO CORRESPONDING FIELDS OF TABLE itab_item
WHERE matnr IN mat.
ENDFORM. "get_data
*& Form dis_data
* text
FORM dis_data.
key_info-header01 = 'MAT'.
key_info-item01 = 'MATNR'.
key_info-header02 = 'WERKS'.
key_info-item02 = 'WERKS'.
REFRESH itab_head.
LOOP AT itab_item.
ON CHANGE OF itab_item-matnr OR itab_item-werks.
MOVE-CORRESPONDING itab_item TO itab_head.
itab_head-mat = itab_item-matnr.
APPEND itab_head.
ENDON.
ENDLOOP.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = 'ZALV_PRDS'
it_fieldcat = t_fcat
it_sort = gt_subtot
it_events = t_eve[]
i_tabname_header = 'ITAB_HEAD'
i_tabname_item = 'ITAB_ITEM'
is_keyinfo = key_info
TABLES
t_outtab_header = itab_head
t_outtab_item = itab_item
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "dis_data
*& Form top_of_page
* text
FORM top_of_page.
CLEAR st_line.
st_line-typ = 'H'.
st_line-info = 'Dhwani Shah'.
APPEND st_line TO t_listhead.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_listhead
* I_LOGO =
* I_END_OF_LIST_GRID =
* I_ALV_FORM =
ENDFORM. "top_of_page
reward if usefull..... -
Looking for examples/help on using Ethernet with Keithley 2701 DMM
All of the example code utilizing their IVI driver is based on GPIB or RS232. I specifically bought the 2701 to utilize the Ethernet port, but cannot find CVI examples on how to do this. Can anyone point me to an ethernet example using their driver and the Ethernet port? Or perhaps post a non-Keithley ehternet driver and examples on its use?
Hi Paul,
What you have been told is exactly what you need to do.
Here is a document in NI web that explains about it:
How Can I Communicate With a Keithley 2701 DMM?
There is also an Instrument driver that NI built for these DMM:
LabVIEW Certified Plug and Play Instrument Driver
To find this documents you need to go to NI.com and at the top on the search box enter 2701. That will give you all the documents related to this.
Thank you
Ricar
do S.
National Instruments. -
Hi, I am slowly learning Java and would like to play with some of the examples that are in the Java Web Start.
When I try and compile the code however I get a lot of error messages (Cannot resolve symbol). Am I missing some other file that I need to include with the examples in order to run it?
Thanks,
- MarkDude, Have you declared all the variables used in the program? Did you check for typo? And please read those error message carefully to get more clues.
Post your future Java programming related questions to 'New to Java Programming' forum. You will get more responses. -
Hi,
I'm new to JMS and installed IBM MQ Series, I want to write a program which polls a queue created in MQ and gets the messages available, at a specified interval.
Does any one has any example code so that I can learn from it.
ThanxThere are a bunch of examples here: http://www.developer.ibm.com/tech/sampmq.html
-
I've found a flex paging example I'd like to get working, but can't seem to get it running.
The Example files can be found here: http://blogs.adobe.com/tlf/2008/12/actionscript-pagination-exampl.html
I've downloaded and imported the project into flex. However I seem to have an error that prevents the example from running. Here is the error that appears
unable to open '/Users/Adam/Documents/Flex Builder 3/libs'
This is what displays if I try to run the project anyways:
File not found: file:/Users/Adam/Documents/Flex%20Builder%203/Pagination/bin-debug/PaginationAS.swf
Does anyone have any idea how I can go about getting this example up and running in flex?take a look at this post with an advanced DataGrid Pagination Example.
http://forums.adobe.com/message/3166670#3166670 -
SimpleApproval BPEL example - help
Hi,
I'm having trouble with the last step of setting up SimpleApproval. The section from the instructions is called "Create S2S Trusted Application", and also activating the BPEL process within Content DB.
Here is my setup. Everything is on one Windows XP machine:
- OAS Infrastructure 10.1.4
- Oracle Content Database 10.2
- Oracle SOA Suite 10.1.3.1
How is runS2S.sh supposed to work on Windows? Is this step necessary? Is there any way to create the application entity with Enterprise Manager?
When the user "matt" uploads a document in the folder "Development", it doesn't trigger the workflow and the BPEL process isn't activated. The file domain.log has the following message (see below). Is this because there's no S2S trusted application?
Can anyone help?
Thanks,
Tom
ORABPEL-05002
Error in message routine.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage" The following exception was thrown. Block could not handle the exception. Der Versuch des Blocks "BpPrc0", die Business Exception für die Instanz "20001" zu behandeln, war nicht erfolgreich. Es wurde folgende Exception gemeldet: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
messageType: {null}
parts: {{code=oracle.xml.parser.v2.XMLElement@b759bb, summary=oracle.xml.parser.v2.XMLElement@164317d, detail=oracle.xml.parser.v2.XMLElement@ed3da6}}
Wenn dieser Block für den Prozess eine benutzerdefinierte Codierung hat, überprüfen Sie die Implementierung.
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)Turns out - by allocating a NEW workspace and new project as Synchronous - and using wizard - application works as advertized. the exprssion syntax used for the Eclipse version is NOT the same - variable names differ.
Maybe you are looking for
-
I followed a tutorial to downgrade back to iTunes 10.7, which worked but the home sharing still having issues. It will stream for a few minutes and then kick me out and tell me I need to turn on homesharing. If I restart itunes I can watch again for
-
Server tools not working on Snow Leopard
I just upgraded my home Intel Mac Pro from 10.4 to 10.6, and downloaded the 10.6.4 Server tools from the website (WorkGroup manager, Server Admin, Server monitor, etc.). Our Xserve is 10.6.4 also, so there shouldn't be any incompatibility (like there
-
Adobe Acrobat X Pro stopped working again but I think I've spotted something...
Hi Folks. I am one of those users, Adobe Master Collection CS6, whose Acrobat X stopped working mysteriously a few days back. I followed the discussions on the forums here where others were experiencing it and took the advice on offer to delete cach
-
MacBook & video editing ?
would be interested to hear from anyone using Final Cut Express on their mac book? I'm not interested in HD editing as I am happy with my SD camcorder, I am looking at editing my footage and outputting via USB to and external HDD, eventually outputti
-
Smart Playlist has black bar for My Rating stars
When I select the "My Rating" option in a Smart Playlist, I see a black bar instead of the 5 grey stars to select from. I am running version 7. Any ideas what is causing this? iTunes Windows XP Pro