Broken links of the OCCI sample code
I use the link:
http://www.oracle.com/technology/sample_code/tech/occi/index.html
and links for downloading are
http://www.oracle.com/technology/sample_code/tech/occi/files/occi10gr2samples.tar.gz
http://www.oracle.com/technology/sample_code/tech/occi/files/occiplsql.tar.gz
I only got this message:
UMD SMD CONTENT An error occurred while processing the request. Try refreshing your browser. If the problem persists contact the site administratorAn error occurred while processing the request. Try refreshing your browser. If the problem persists contact the site administratorAn error occurred while processing the request. Try refreshing your browser. If the problem persists contact the site administrator
How to ask administrator about it?
Hello Anton. I tried these downloads and was able to save the files to disk. Have you tried again? It may be that the system was overloaded when you tried.
This forum is mainly for the content of the documentation, so I don't know how to contact the administrator of the downloads. If you continue to have problems, you might try asking at the Oracle's OTN TechBlog (under the Blobs tab).
Regards,
Diana
Similar Messages
-
Cannot run OCCI sample code.. cant find Dbmanager.h
Hi , I am trying to connect to my oracle 10g database and i am getting an error. I downloaded instantclient-sdk-win32-10.2.0.3-20061115.zip from
[http://www.oracle.com/technetwork/topics/winsoft-085727.html| http://www.oracle.com/technetwork/topics/winsoft-085727.html]
Then I used the following ever so popular code
#include <DbManager.h>
#include <iostream>
using namespace std;
using namespace oracle::occi;
const string sqlString("select empno, ename from employee");
int main(int argc, char **argv)
if (argc != 2)
cerr << "\nUsage: " << argv[0] << " <db-user-name>\n" << endl;
exit(1);
// Initialize OracleServices
DbManager* dbm = NULL;
OracleServices* oras = NULL;
Statement *stmt = NULL;
ResultSet *resultSet = NULL;
try
// Obtain OracleServices object with the default args.
dbm = new DbManager(userName);
oras = dbm->getOracleServices();
// Obtain a connection
Connection * conn = oras->connection();
// Create a statement
stmt = conn->createStatement(sqlString);
int empno;
string ename;
// Execute query to get a resultset
resultSet = stmt->executeQuery();
while (resultSet->next())
empno = resultSet->getInt(1); // get the first column returned by the query;
ename = resultSet->getString(2); // get the second column returned by the query
if (resultSet->isNull(1))
cout << "Employee Number is null... " << endl;
if (resultSet->isNull(2))
cout << "Employee Name is null..." << endl;
cout << empno << "\t" << ename <<endl;
// Close ResultSet and Statement
stmt->closeResultSet(resultSet);
conn->terminateStatement(stmt);
// Close Connection and OCCI Environment
delete dbm;
catch (SQLException& ex)
if (dbm != NULL)
dbm->rollbackActions(ex, stmt, resultSet); // free resources and rollback transaction
return 0;
But the problem is I cannot fint find DBManager.h. I read on a certain post we could use <occi.h> instead of dbmanager but then i get an error with the types
Dbmanager,OracleService and ResultSet. Can anyone please help me out , The code wont even build i am using Visual studio 2010 and i included all the header files.
Did the i download the wrong package or what am i doing wrong ????This website has some sample codes that I want to run, but I'm getting errors. For the very first sample code, I removed ; in line 1 and it reduced number of errors. I can't post image because MS has to verify my account first.
Someone told me that this is missing MFC and main method. I googled and MFC is like SKD made by users. So, my guess is that I need to find the MFC this person used and include them as like #include ".h" and have int main(). Is this true? If it is
true where can I get the MFC? and how do I know which MFC this person used?
MFC stand for Microsoft Foundation Class Library is a library that wraps portions of the Windows API in C++ classes, including functionality that enables them to use a default application framework. To work on MFC you have to download Visual
Studio . As you are new to window So i will suggest you to start with VS2008 onward .And Before you start working with MFC have some fundamental of Win32 As well.
Thanks
Rupesh Shukla -
Hi everyone
I wonder if anyone can offer me some advice to rectify the problems I'm experiencing in my itunes?
I have been saving my media to an external hard drive since rebuilding my itunes collection, while keeping the library on the hard drive of my MBP. This was working well with no problems but as my media reached 300GB on my external I thought I would copy it to another external hard drive as back up, and after that I decided to also make a copy of my library data to the same second external drive so I would have a full back up of itunes in case of failure of my main hard drive...
So after copying my media from my first external drive to the second, and then copying the library data from my MBP hard drive it seems the copy of my media and the copied library are working fine on my second external hard drive, but now when I open the first external drive where I originally was saving my media files I am suffering quite a lot of broken links???...I followed the copy process as I have done in the past although I did not tick the check box for renaming and moving my media as it was about to be copied,and I thought that was correct as I used the consolidate function to copy it..
Been trying to figure out how to rectify the problem tonight and am getting nowhere fast. Can anyone offer suggestions as to how I can sort the issue on my original external hard drive as it's the one I prefer to store my media on and it was functioning perfectly before?? from having a tidy and clearly functioning itunes I now have a mass of problems....
I hope this is clear to someone.....as I was hoping to have it fixed in readiness for a new MBP...am I missing something obvious?OK, this should sort you out...
Move the following files and folders from /Volumes/Backup/iTunes up to /Volumes/Backup/
Album Artwork (folder)
iTunes Library.itl
iTunes Library Extras.itdb
iTunes Library Genius.itdb
iTunes Library.xml
sentinel (hidden)
Launch iTunes. It should warn that the library is missing. Browse to the file /Volumes/Backup/iTunes Library.itl and open it.
Go to iTunes > Preferences > Advanced and change the media folder location to /Volumes/Backup/Music. Let iTunes consolidate files if it asks, if not use File > Library > Organize Library... Tick Consolidate files and click OK.
Close iTunes. Rename /Volumes/Backup/Music as /Volumes/Backup/iTunes Media. Start iTunes.
Go to iTunes > Preferences > Advanced, check that the media folder location now reads /Volumes/Backup/iTunes Media. If necessary, change and then close and reopen iTunes.
Go to File > Library Organize Library... and, if not greyed out, tick Rearrange files in the folder iTunes Media, then click OK.
Delete /Volumes/Backup/iTunes/iTunes Media which now contains redundant copies.
Move the following files and folders from /Volumes/Backup/ into /Volumes/Backup/iTunes
Album Artwork (folder)
iTunes Media (folder)
iTunes Library.itl
iTunes Library Extras.itdb
iTunes Library Genius.itdb
iTunes Library.xml
sentinel (hidden)
Launch iTunes. It should warn that the library is missing. Browse to the file /Volumes/Backup/iTunes/iTunes Library.itl and open it.
Go to iTunes > Preferences > Advanced, check that the media folder location now reads /Volumes/Backup/iTunes/iTunes Media. If necessary, change and then close and reopen iTunes.
Each time you change something and start iTunes just check that a track will play. If not, close iTunes and undo your last action.
That should be it. You can clone this iTunes folder to any other drive and the clone is a functioning copy of your library.
tt2 -
I want to open the iTunes library on my new laptop with all the playlists and stuff I built on the old computer. I have all my music on an external drive. I have copied the .itl file from the old computer and opened it on the laptop, and it has all the playlists, but all of the songs that were added to iTunes up to a certain date have broken links. What am I doing wrong?
Moving library files around while leaving the data in the same place usually presents no problems. Moving the data around independently from the library usually breaks things. With Windows machines all you should need to do is make sure that the same drive letter is being used on the new system as with the old. If that is not possible you need to get your library into a portable layout before moving it between systems.
Typical layout of iTunes folders:
When the media folder is inside the main iTunes folder as shown above then the library is portable. Typically with a split library the iTunes Music or iTunes Media folder (everything inside the red outline) is moved to a different drive by choosing a new locaton for it and then consolidating.
To make the library portable again you need to copy the library files and album artwork folder into the parent folder of the media folder so that the nested relationship is recreated. (BTW If your media isn't already inside your designated media folder then you will also need to consolidate the files that are outside of it, before you copy the library files.) You can then use the hold-down-shift-when-starting-iTunes method to open the library file in that parent folder. Once the library has been opened, tested and closed you are most of the way there.
The iTunes window inherits its title from the folder holding the library files so, unless you created a folder called iTunes to hold the media folder, iTunes may now have an unexpected title when you run it. The parent folder can be renamed as iTunes, and the library opened again. Alternatively, if the parent folder is at the root of the drive, or has other data which you wish to leave in place, you can create a new top level folder called iTunes and move the library files, album artwork and media folders into it before opening and testing the library again.
If the library doesn't work after any step simply reverse it by undoing a move or rename or opening the previous set iTunes Library.itl file.
If all has gone well then the library is now portable. Once you've migrated the data to a new system you can copy the library files back to their usual internal location if you find that having them on the external drive affects performance...
tt2 -
Assert error/hangs running the performance sample code
Hi,
I'm doing some work to understand how fast I can expect Berkeley DB to run and I found the 2006 white paper on [Performance Metrics and Benchmarks|http://www.oracle.com/technology/products/berkeley-db/pdf/berkeley-db-perf.pdf] so I downloaded the [sample code|http://www.oracle.com/technology/products/berkeley-db/files/perf.zip] and made a couple of fixes to make it run with 4.7.25 (shown at the end).
When I run 'make test' it frequently hangs on the "Transactional Data Store (write, in-memory logging)" test under OS X 10.5.7 and under Debian lenny (kernel 2.6.26-1-amd64).
If I rebuild BDB with --enable-diagnostic I get this assertion error.
jmeredith@op:~/src/perf$ rm -rf TESTDIR ; ./t
Using Berkeley DB 4.7.25 - ops: 1000000; keysize: 8; datasize: 32
Data Store (read):
elapsed time: 0.392573 seconds : 2.5473e+06 key/data pairs per sec
Data Store (bulk read):
elapsed time: 1.615233 seconds : 2.66339e+07 key/data pairs per sec
Data Store (write):
elapsed time: 0.629771 seconds : 1.58788e+06 key/data pairs per sec
Transactional Data Store (read):
elapsed time: 2.413665 seconds : 414308 key/data pairs per sec
assert failure: ../dist/../txn/txn_region.c/451: "td->mvcc_ref > 0"
[0x4f431d]
[0x4f41a9]
[0x44cdff]
[0x4f2e1e]
[0x42f0d3]
[0x4f3faf]
[0x4fddee]
[0x4f8dde]
[0x4d975c]
[0x4c9991]
[0x4e417d]
[0x40137c]
[0x40198e]
[0x52613b]
[0x4001b9]
Aborted (core dumped)
Here are the changes to get the code to build.
--- perf/t.c 2006-06-28 17:15:47.000000000 -0600
+++ perf-fixed/t.c 2009-07-06 09:44:43.000000000 -0600
@@ -1,4 +1,5 @@
#include <sys/types.h>
+#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
@@ -38,7 +39,15 @@
char *progname;
-extern void __os_clock(DB_ENV *, u_int32_t *, u_int32_t *);
+void
+__os_clock(DB_ENV e, u_int32_t secs_ptr, u_int32_t *usecs_ptr)
+{
+ struct timeval t;
+
+ gettimeofday(&t, NULL);
+ *secs_ptr = (u_int32_t) t.tv_sec;
+ *usecs_ptr = (u_int32_t) t.tv_usec;
+}
void cleanup(void);
void op_ds(u_int, int);
@@ -364,7 +373,7 @@
op_tds(ops, 0, 0);
res("Transactional Data Store (read):", ops);
- op_tds(ops, 1, DB_LOG_INMEMORY);
+ op_tds(ops, 1, DB_LOG_IN_MEMORY);
res("Transactional Data Store (write, in-memory logging):", ops);
op_tds(ops, 1, DB_TXN_NOSYNC);Hi,
I reproduced your problem on Ubuntu 4.2.3 with db 4.7.25 and saw the same assert error as you. From the error message, the program asserts error/hangs at the "Transactional Data Store (write, in-memory logging)", that is calling op_tds() with DB_LOG_IN_MEMORY as the flags.
The problem comes from your change on the sample code that the DB_LOG_IN_MEMORY is set with wrong API. The DB_LOG_IN_MEMORY should be set in DB_ENV->log_set_config(). Please refer to [DB_ENV->log_set_config|http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_log_set_config.html] and its flag DB_LOG_IN_MEMORY.
I change env's setting flags in op_tds() as follows. In this way, the error I saw is eliminated and the program works as expected.
The original code is:
PERF_CHECK(
dbenv->set_flags(dbenv, DB_AUTO_COMMIT | txn_flags, 1) == 0);"
{code}
I change it to:
{code}
if (txn_flags == DB_LOG_IN_MEMORY) {
PERF_CHECK(
dbenv->log_set_config(dbenv, DB_LOG_IN_MEMORY, 1) == 0);
txn_flags = 0;
PERF_CHECK(
dbenv->set_flags(dbenv, DB_AUTO_COMMIT | txn_flags, 1) == 0);
{code}
Please apply the change and l*et us know if it works on your machine.
Regards,
Emily Fu, Oracle Berkeley DB -
BI Graph - broken link if the jspx is in a folder
Re: 88.Dynamically-Updating JSP Graph in JSF Page [10.1.3]
The example works fine only when the JSF JSPX file containing the graph tag is in the root directory. But if I place the JSPX file in a folder, the chart image shows up as a broken link.
For eg:
http://localhost:8988/ContextRoot/faces/ChartReport.jspx
works fine and the chart image property being http://localhost:8988/ContextRoot/faces/GraphGeneratorServlet?id=oragraph111-2cf27d8e:1109766d4f4:-7ffc
http://localhost:8988/ContextRoot/faces/pages/ChartReport.jspx
does not work and shows a broken link image for the chart as http://localhost:8988/ContextRoot/faces/pages/GraphGeneratorServlet?id=oragraph111-2cf27d8e:1109766d4f4:-7ffd
Can you please let me know, if there is any work around to solve this?
Thanks,
SaranSaran,
I found a work around. If your page is in for example the /pages/ subdir under public_html, you need to add the following entry to web.xml:
<servlet-mapping>
<servlet-name>GraphGeneratorServlet</servlet-name>
<url-pattern>/pages/GraphGeneratorServlet</url-pattern>
</servlet-mapping>
Then it works again.
Steven Davelaar,
JHeadstart Team
Oracle Consulting. -
Broken Link For the verizon 700wx updater 1.24
Help!!! Followed the link www.palm.com/700wxverizon-update from
http://www.hpwebos.com/us/support/mobile/treo700wx/downloads.html and was sent to
http://kb.hpwebos.com/wps/portal/kb2/common/article/10133_en.html which told me
Warning
Sorry. You may have asked for an item that does not exist. Please check the web page address or go back to the last page.
Could someone please tell me where to find the updater!!!
Post relates to: Treo 700wx (Verizon)
Post relates to: Treo 700wx (Verizon)From my recollection, the update was removed approx. 2 years ago. This was an update to WinMobile version 6 and Microsoft removed the update for the phones.
You may be able to find it somewhere on the internet if someone downloaded and saved the update.
The only updates avail. now are on the support page for your phone under downloads.
For reference purposes, click on the following link for the support page for your device on the kb.hpwebos.com webpage.
http://kb.hpwebos.com/wps/portal/kb2/na/treo/700wx/verizon/home/page_en.html
There are links on the page to the user guide, troubleshooting, how to's, downloads, etc. -
Broken links on the web page :(
Hi Guys
I have been chasing this for a few weeks now & no one seems very interested in the issues with the web site
On this web page
http://www.palm.com/au/support/treo680/downloads/680mr_win.html
Their is a link
Download: Treo680_2_12_ROW_desktopupdater.zip
The HTML is
javascript:NewWindow('/au/support/downloads/legal.html','560','420','1')
Unfortunately the page
/au/support/downloads/legal.html
Does not exist.
So my customer (yes I'm a palm developer) cant download the file.
Does anyone know how to contact
1. A person at Palm ?
2. The webmaster at Palm ?
3. Someone in support at Palm ?
4. How to get the file without accessing the palm site.
Palm has really changed over the years & this is really disappointing !!!
TIA
NG
PS - Palm - Pls. note my customer is not prepared to pay for support to have this rectified as you have previously suggested
Post relates to: Treo 650 (Unlocked GSM)
Post relates to: Treo 650 (Unlocked GSM)Hi Guys
My customer has been doing some digging & has asked me why these posting in early 2009 are still causing problems, thats 6 months ago
http://forums.palm.com/palm/board/message?board.id=support_downloads&thread.id=8554
Looks like Palm are not going to fix these issues if they have been outstanding for more than 6 months !!!!
What should I tell my customer ???
TIA
NG -
Urgent can any one please gimem the sample code any simple BDC
Hi all,
Can any provide me with a simpel BDC code which involes the upload of the billing date and it's line items in a sales order creation transaction.it's a urgent requirement.
wegHi,
Refer this link u will get sample code and steps to proceed with
http://www.sapdevelopment.co.uk/bdc/bdc_call.htm
http://www.sapdevelopment.co.uk/bdc/bdchome.htm
Thanks & Regards,
Judith. -
Can we save the video file from Sun sample code TestEffect instead of playi
can we save the video after adding an effect to it using the TestEffect sample code from Sun instead of playing it!
Hi All,
Please Update the Thread
Regards
Khanna -
I am not able to acess the sourcefiles on the page
http://otn.oracle.com/sample_code/tech/java/jsp/htdocs/jspdemo/jspdemosrc.html
Any help on this would be appreciated.
ThanksHi Asha,
The page you are referring to was with respect to a older version of the JSP sample code. Please refer to the updated samples at the location: http://otn.oracle.com/sample_code/tech/java/jsps/ojsp/content.html
These samples are certified against Oracle9iAS Containers for J2EE(OC4J). You can download the JAR file(OjspSamples.jar) from this page and deploy the EAR file in it with OC4J. The Install.html file in the JAR file has instructions to setup the samples with OC4J. Once setup, all the source files can be accessed through the application pages itself. Hope that helps.
Regards,
Srinivas
OTN Team. -
Hi,
I recently renewed my Adobe Software Distribution license, as I saw that the existing download links were going to be retired.
So I received the resulting email for Air, Flash, Reader and Shockwave and all the links are fine, except for the one to download Reader XI.
Is there anywhere I can get support/help on this? Adobe online Support Chat have me going in circles...
Thanks
CraigYeah. Getting the software isn't a problem (there a number of ways to download it), but I just want them to take responsability for the broken link in the email, since I'm supposed to use that link to download the software.
After going through four Adobe support people, they've apparently passed it on to the "development" team... I wont be holding my breath on that. -
Broken Link Report with Variables
In my broken links report, I have many links that contain dynamic variables that will be realized at execution time and are not static links.
I have included some code from our page(s) below.
This process works extremely well for our web pages, but I would like to clear up the broken link report.
Is there a way to keep the code as is and have them removed from the broken link report, or is there better way to do this?
Example:
<cfoutput query = “getDBcontent”>
<cfset FileName =“../projectweb/images/#getDBcontent.FileType#.gif”>
<cfset FileTitleAlt = “The title of this document is: #getDBcontent.FileTitle#”>
<img src=”#FileName#” alt=”#FileTitleAlt#”> #currentrow# <a href=”../projectweb/files/#getDBcontent.Table_FileName#”
target=“_blank”>#getDBcontent.Table_FileNameTitle#</a><br />
</cfoutput>
After Execution:
<img src=”pdf.gif” alt=”The title of this document is: Search Lists for Dummies”> 1
<a href=”../projectweb/files/Search_Lists_for_Dummies.pdf” target=“_blank”> Search Lists for Dummies </a><br />
<img src=”pdf.gif” alt=”The title of this document is: Adobe Dreamweaver CS5 with PHP”> 2
<a href=”../projectweb/files/Adobe_Dreamweaver_CS5_with_PHP.pdf” target=“_blank”>
Adobe Dreamweaver CS5 with PHP </a><br />
<img src=”doc.gif” alt=”The title of this document is: How to Build a House”> 3
<a href=”../projectweb/files/How_to_Build_a_House.doc” target=“_blank”> How to Build a House </a><br />
<img src=”docx.gif” alt=”The title of this document is: Adobe Dreamweaver CS5 Classroom in a Book”> 4
<a href=”../projectweb/files/Adobe_Dreamweaver_CS5_Classroom_in_a_Book.docx” target=“_blank”>
Adobe Dreamweaver CS5 Classroom in a Book </a>
The broken link report shows the following:
FILES Broken Links
/Books.cfm ../projectweb/files/#getDBcontent.Table_FileName#
/Books.cfm #top
/Books.cfm #bottom
Thank you in advance...
RogerThanks for taking a look Murray. Here are some samples (The domain for our page is www.insurance.wa.gov)
social/index.shtml
http://www.facebook.com/WSOIC
social/index.shtml
http://twitter.com/WAinsuranceblog
social/index.shtml
http://access.wa.gov/washington/blogs.aspx
social/index.shtml
http://access.wa.gov/washington/facebook.aspx
social/index.shtml
http://access.wa.gov/washington/twitter.aspx
Our page to the left, the broken link to the right of course. -
I have a problem in both CS5.5 and CS6 on MacOS X.
During a drag operation onto an InDesign document, I import and place some images onto a page. This normally works without issue except in one case. The problem case is when I'm trying to import an image that is the same file path as a broken link on the document. This will crash InDesign everytime.
Let me provide some details.
First, I create an InDesign document, drag some images from the Finder and place them on the page and save the InDesign document to file. Now I go to the Finder and delete the images (or just move them to a different Folder). I then go back to InDesign and look at the Links panel where the red stop signs now appear near the images to show that the links are broken.
Next I go to a panel that I'm working on where I can drag an item from the panel and onto the InDesign document page. In this I have a ProcessDragDropCommand method that over rides the method in the CDragDropTargetFlavorHelper class, and during that method it copies the images that I just deleted back into their original locations on the file system.
After copying the files, the process then tries to import one of the images into a new frame using the PlaceFileInFrame method from the InDesign SDK file SDKLayoutHelper.cpp. This method creates a kImportAndPlaceCmdBoss and when executing the line:
if (CmdUtils::ProcessCommand(importAndPlaceCmd) != kSuccess) {
causes an exception that appears in the crash report as:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILUE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
with a stack trace that points to the CmdUtils::ProcessCommand() line mentioned above.
I've tried relinking the images before the import and place, but that still doesn't work. If I break the process up so that in one drag event I copy the missing files back into place and relink them, then in a second drag event I then do an import and place it all works okay. It's just when I try the full task of copy images into place in the file system, relink the images on the InDesign document and then import and place an image in a new frame on the InDesign page that the exception is appearing.
Instead of the kImportAndPlaceCmdBoss I've also tried the kImportAndLoadPlaceGunCmdBoss with the same problem.
Interestingly, in the SDKLayoutHelper method PlaceFileInFrame that I'm using, there's a pragma message:
#pragma message("LINKREWORK: Temporary, fix this up later!")
// TODO: LINKREWORK fix.
From the wording I'm wondering if this is related to the problem that I'm seeing. In which case does anyone know what this fix might entail?
I've tried tried relinking using ReinitResource and UpdateLinks methods that are a part of the ILkniFacade but that doesn't seem to help stop the crash.
Oddly, I can generate a strange and maybe related error (that doesn't use my plugins and just the raw InDesign functionality) if I do something like:
In InDesign, create an InDesign document.
From the Finder, drag some images onto the InDesign document page.
In InDesign, save the document.
In the Finder, rename the folder containing the images.
In InDesign, check that the links really are broken with the red stop signs appearing.
In the Finder, rename the folder containing the images back to what it was before.
(Extra Step)
In the Finder, redrag the same images that you did before onto the InDesign page.
This will cause InDesign to throw up the following error message:
Either the file does not exist, you do not have permission, or the file may be in use by another application
Of course, if in the above you introduce an Extra Step where you just go back to InDesign and do nothing. InDesign will relink the once missing images, so that when you go back to the Finder to drag the images there's now no problem.
This is almost like InDesign needs a few IdleTasks in order to sort out its perception of the file system. If that's the case then I'm a bit stuck as I'm trying to do everything during a single drag operation and there's no chance of any IdleTasks occuring.
Any ideas?I have checked the Tomcat log, which does not give
much information:
----- Root Cause -----
org.apache.artimus.message.exceptions.MessageDAOSysExce
tion: Error executing SQL in
ThreadHandler.createThread.
at
org.apache.artimus.message.dao.MySQLMessageDAO.createT
read(MySQLMessageDAO.java:54)
at
org.apache.artimus.message.ThreadHandler.insertThread(
hreadHandler.java:42)
at
org.apache.artimus.message.StoreMessage.execute(StoreM
ssage.java:61)
at
org.apache.struts.action.RequestProcessor.processActio
Perform(RequestProcessor.java:484)Tomcat has more than one log file. The servlet's System.out messages must be going to a different file if this is all you are seeing. Either look in the other log files or change the lines
se.printStackTrace();
throw new MessageDAOSysException("Error executing SQL in ThreadHandler.createThread."); // line 54 where the problem occurredto simply read:
throw se;and the actual Exception you want to investigate will go in to the file where you found the above. This will be less useful in the long run as you'll have the same problem when you want to query the SQLException further with System.out.println(se.getSQLState()); etc.
You could add a logging configuration to your servlets context in server.xml so you can define where such messages get logged.
Alternatively you could use a logging API like log4j. -
Interactive form sample code(ABAP)
I make an ABAP program using form FP_EXAMPLE_01 folowing training document "Printing Forms with Interactive Forms Based on Adobe Software" . But it can not run.
I am new in Interactive form. Can you help me a full code sample to run this form FP_EXAMPLE_01, please.Error in adobe form
check this.
look at the Adobe page here in SDN:
Use the Tcode : SFP
https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm
Check these links on Adobe forms
http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/content.htm
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sap.com/solutions/solutionextensions/pdf/BWP_Interactive_Forms_Adobe.pdf
It contains lots of useful information, documentation, and e-learning materials teaching you the basics.
http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
follow these links.
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sapfinug.fi/downloads/2006/seminaari/uudet/SAP_Adobe.pdf
https://weblogs.sdn.sap.com/weblogs/topic/45?x-o=50
Interactive Forms based on Adobe software is SAP's new solution for forms development. Its first release has the focus on interactive use of forms. High-volume printing is supported in principle, but - being a new solution - the performance has not yet reached the same level as Smart Forms or SAPscript, two established solutions that had years to grow. Interactive Forms is the only solution that will continue to be enhanced with new features, while SAPscript and Smart Forms will be supported without limitations.
When (or if) to move to Interactive Forms depends on your requirements. For interactive forms usage, i.e. the new functions, you have no choice, as the existing solutions don't support it. High-volume print scenarios need to be carefully analyzed to see whether your concrete requirements can be met at this point.
However, it is possible to move to Smart Forms and design your forms in such a way that a migration at any point in the future would be but a small step. Smart Forms offers from Web AS 6.40 a migration wizard to Interactive Forms. Technically, everything can be migrated, but we recommend against things like ABAP program nodes, for example.
You are not forced to ever go to Interactive Forms if you don't want to. It really depends on whether your client needs any of the new features in Interactive Forms. Also, if they are currently working with JetForms, they could enquire with Adobe directly what migration path they offer to the joint solution.
go thru this links
http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm
example
To get an overview idea about Adobe forms ,
Using SFP Tcode , first you need to create a interface . in interface you can declare the import and export parameters and also the declaration part, coding etc : This is nothing but similar to Function module interface.
And now we have to create the Form which is interactive. Create the form and enter the interface name which you have created in first step, so that the parameters , declarations of fields etc : will be copied and available in the form layout. So that you can drag and drop these declared fields ( dclared fields of interface ) to the layout.
Create the context and layout in the form.
The layout generated can be previewed and saved as PDF output.
Now we need to integrate the driver program and the PDF form to get the final output as per the requirement.
On activating and executing the form you will get a function module name just similar to smartforms.
The driver program needs to call this FM.
Refer to the below sample code :
DATA : is_customer TYPE scustom.
DATA : it_bookings TYPE ty_bookings.
DATA : iv_image_url TYPE string.
DATA : iv_sending_country TYPE adrc-country.
DATA : it_sums TYPE TABLE OF flprice_t.
DATA : docparams TYPE sfpdocparams.
DATA : formoutput TYPE fpformoutput.
DATA : outputparams TYPE sfpoutputparams.
PARAMETERS : pa_cusid TYPE scustom-id.
SELECT SINGLE * FROM scustom INTO is_customer
WHERE id = pa_cusid.
SELECT * FROM sbook
INTO CORRESPONDING FIELDS OF TABLE it_bookings
WHERE customid = pa_cusid.
outputparams-nodialog = 'X'.
outputparams-getpdf = 'X'.
*outputparams-adstrlevel = '02'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
docparams-langu = 'E'.
docparams-country = 'US'.
docparams-fillable = 'X'.
CALL FUNCTION '/1BCDWB/SM00000043'
EXPORTING
/1bcdwb/docparams = docparams
is_customer = is_customer
it_bookings = it_bookings
IV_IMAGE_URL =
iv_sending_country = 'US'
IT_SUMS =
IMPORTING
/1bcdwb/formoutput = formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Plzz reward if it is useful
Maybe you are looking for
-
Safari Quit unexpectedly after installing Lion need help fixing
Process: Safari [210] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.1.6 (7534.56.5) Build Info: WebBrowser-7534056005000000~6 Code Type: X86-64 (Native) Parent
-
Connect by prior problem with order by
Hi, I and using connect by prior within a query on Oracle 8 and would like to order the results within the parent levels. All the documentation that I have read shows that in Oracle 9i there is an option to say order siblings by which looks like what
-
I just transferred to an iphone from a samsung. At the store they loaded my pictures and files from the phone to a micro SD card. I have a micro reader that I used in USB port. Question? How do I retrieve my pic stitch photos that were stored in my s
-
Nokia is loosing Indian Market
Nokia is loosing Indian Market because of Dual-SIM phone unavailability. Today more than 200,000,000 Indian users are using Dual-SIM Chinese mobile (from ShenZhen China) these mobiles are not reliable for more than 2 year, but has lots of features no
-
Hi, The title pretty much explains what I want to achieve. I have a black and white video and I want to colour pop a moving object in it with it's original colours. I'm a full member of the Creative Cloud and so have all the suite available to me. Ho