Integrating JSPs from external server into Aqualogic BPM
I need some help with the following issue I am facing with BEA Aqualogic BPM 5.7.
I was able to successfully implement the tutorial on ?Integrating Java Server Pages?.
I am stuck up with the action, using which, on submit of JSP embedded using screenflow, the JSP should return back and activity should be changed and taken to the next activity.
The way I did this is:
<form action="<f:postResults/>" method="post" name="mainform_1">
For this, I need to add a URI at the top of the URI.
<%@ taglib uri="http://fuego.com/jsp/ftl" prefix="f" %>
This works fine if I am using the JSP which is deployed on Fuego application server. But for the scenario, where I have a wrapper JSP embedded inside the screenflow and through the JSP(on Fuego) I make a call to JSP which is deployed on my application, it doesn't work and gives me exception.
My Application uses Tomcat 5.5.17.
Exception Stack Trace:
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[prd_dart].[jsp] 2006-12-07 17:18:50,953 ERROR [http-9000-Processor25] (StandardWrapperValve.java:253) - Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: The absolute uri: http://fuego.com/jsp/ftl cannot be resolved in either web.xml or the jar files deployed with this application
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:147)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Please reply with a solution or any more information you need on this.
Thanks,
Gaurav
Edited by gaurav.j.shah at 12/12/2006 4:40 AM
Hi Gaurav,
I hope by now you would have surely found a solution to this problem. If you don't mind please post it here for others help.
Regards,
Manoj
Similar Messages
-
Options of fetching mails from mail server into PI and also from oracle system
hi All,
Pls extend your help in looking out the possiblity of fetching mails from mail server into SAP PI
and also from oracle system into PI ,earliest help would be appreciated.
and also the types of sources for both the scenarios.
Regards
Vidya Sagar MandaHi Vidya,
you can use the email adapter to read/pick up email from mail box.
and use JDBC adapter to read data from table of any database. Please refer the links given to your old thread
Fetch Mails From MailServer using PI and integrate the message into BPM
regards,
Harish -
Fetching of multiple files from Application Server into SAP Program
Hi All,
I have a issue related <b>Fetching of multiple files from Application Server into SAP Program</b>.
Actual issue is as below.
In the <b>selection screen</b> of <b>my program</b> i will give <b>Application Server Path</b> as :
<b>/PW/DATA/SAP/D1S/PP/DOWN/eppi0720*</b>
Then the based on above input it should pick up all the files that are matching <b>eppi0720*</b> criteria.
Suppose if i am having <b>5</b> files with above scenario, i have to fetch all those <b>5</b> files at a time and place in my SAP Program.
All those 5 file's data should come into SAP at a time.
Can anybody tell me how can we solve above issue.
If any body has come across same issue please provide me with solution.
Thanks in advance.
Thanks & Regards,
Rayeez.If you want to get around the authorization check, you can do something like this.
report zrich_0001 .
parameters: p_path type epsf-epsdirnam
default '/usr/sap/TST/SYS/global'.
parameters: p_file type epsf-epsfilnam default 'CO*'.
start-of-selection.
perform get_file_list.
* FORM get_file_list *
form get_file_list.
types: name_of_dir(1024) type c,
name_of_file(260) type c,
name_of_path(1285) type c.
data: begin of file_list occurs 100,
dirname type name_of_dir, " name of directory. (possibly
" truncated.)
name type name_of_file, " name of entry. (possibly
" truncated.)
type(10) type c, " type of entry.
len(8) type p, " length in bytes.
owner(8) type c, " owner of the entry.
mtime(6) type p, " last modification date, seconds since 1970
mode(9) type c, " like "rwx-r-x--x": protection mode.
useable(1) type c,
subrc(4) type c,
errno(3) type c,
errmsg(40) type c,
mod_date type d,
mod_time(8) type c, " hh:mm:ss
seen(1) type c,
changed(1) type c,
end of file_list.
data: begin of file,
dirname type name_of_dir, " name of directory. (possibly
" truncated.)
name type name_of_file, " name of entry. (possibly
" truncated.)
type(10) type c, " type of entry.
len(8) type p, " length in bytes.
owner(8) type c, " owner of the entry.
mtime(6) type p, " last modification date, seconds since 1970
mode(9) type c, " like "rwx-r-x--x": protection mode.
useable(1) type c,
subrc(4) type c,
errno(3) type c,
errmsg(40) type c,
mod_date type d,
mod_time(8) type c, " hh:mm:ss
seen(1) type c,
changed(1) type c,
end of file.
call 'C_DIR_READ_FINISH' " just to be sure
id 'ERRNO' field file_list-errno
id 'ERRMSG' field file_list-errmsg.
call 'C_DIR_READ_START' id 'DIR' field p_path
id 'FILE' field p_file
id 'ERRNO' field file-errno
id 'ERRMSG' field file-errmsg.
if sy-subrc <> 0.
sy-subrc = 4.
exit.
endif.
* Read the file list and add to internal table.
do.
clear file.
call 'C_DIR_READ_NEXT'
id 'TYPE' field file-type
id 'NAME' field file-name
id 'LEN' field file-len
id 'OWNER' field file-owner
id 'MTIME' field file-mtime
id 'MODE' field file-mode
id 'ERRNO' field file-errno
id 'ERRMSG' field file-errmsg.
if sy-subrc = 1.
exit.
endif.
append file to file_list.
enddo.
* Write out the file list
loop at file_list.
write:/ file_list-name.
endloop.
endform.
Regards,
Rich Heilman -
My Mac crashed. I got a new hard drive. I reinstalled Lightroom. Fortunately ircats are stored on an external drive. How do I import all of the old catalogues from external drive into a new LR catalogue. I have done it before. It has just been many years and I can't recall how.
If you had stored your catalog files on an external drive, then all you have to do is double-click on them to open them and use them.
Or you could move them to the internal drive and double-click on them once the move is completed.
To create a single catalog file from multiple ones, you could use File->Import from Another Catalog -
Error while reading excel file from application server into internal table.
Hi experts,
My requirement is to read an excel file from application server into internal table.
Hence I have created an excel file fm_test_excel.xls in desktop and uploaded to app server using CG3Z tcode (as BIN file type).
Now in my program I have used :
OPEN DATASET v_filename FOR INPUT IN text mode encoding default.
DO.
READ DATASET v_filename INTO wa_tab.
The statement OPEN DATASET works fine but I get a dump (conversion code page error) at READ DATASET statement.
Error details:
A character set conversion is not possible.
At the conversion of a text from codepage '4110' to codepage '4103':
- a character was found that cannot be displayed in one of the two
codepages;
- or it was detected that this conversion is not supported
The running ABAP program 'Y_READ_FILE' had to be terminated as the conversion
would have produced incorrect data.
The number of characters that could not be displayed (and therefore not
be converted), is 445. If this number is 0, the second error case, as
mentioned above, has occurred.
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CONVERSION_CODEPAGE', was not
caught and
therefore caused a runtime error.
The reason for the exception is:
Characters are always displayed in only a certain codepage. Many
codepages only define a limited set of characters. If a text from a
codepage should be converted into another codepage, and if this text
contains characters that are not defined in one of the two codepages, a
conversion error occurs.
Moreover, a conversion error can occur if one of the needed codepages
'4110' or '4103' is not known to the system.
If the conversion error occurred at read or write of screen, the file
name was '/usr/sap/read_files/fm_test_excel.xls'. (further information about
the file: "X 549 16896rw-rw----201105170908082011051707480320110517074803")
Also let me know whether this is the proper way of reading excel file from app server, if not please suggest an alternative .
Regards,
KarthikHi,
Try to use OPEN DATASET v_filename FOR INPUT IN BINARY mode encoding default. instead of OPEN DATASET v_filename FOR INPUT IN text mode encoding default.
As I think you are uploading the file in BIN format to Application server and trying to open text file.
Regards,
Umang Mehta -
I can't paste text from external sources into Photoshop CC 2014.
Hello everyone,
Since a few days I'm not able to paste texts from external sources into Photoshop CC 2014.
I never have problems with Photoshop CC before.
I have the new iOS Yosemite installed in my macbook.
It's really frustrating, can someone help please?I have basically the same setup, except on a Mac Mini. I am unable to reproduce your problem. Double check that you are copying the original text in the first place, and then make sure you are pasting into a text layer as you cannot paste into a regular Photoshop layer -- nothing will happen. Create a text layer by clicking on a regular layer with the text tool, the T in the tool box. The new layer will show up in the layers panel identified by the first line of the text.
-
I've been running Windows XP over Bootcamp on iMac for a few years and I can't seem to get any sound from external devices into the machine. Any ideas?
O.K. fgonoz98
I would do 1 thing at a time:"now the micropohone is not working in facetime"
Here is what you can check to get your mike working in facetime:
1. Hold down option while you click on the speaker next to time a. date,
under input Device see if your mic is marked. If not: ✔️
2. Click the apple top left/System Prefs./click on the Sound speaker:
under Input highlight microphone.
3. When you have factime on go to video above scroll and see if your mic is marked ✔️
If that does not get it to work there is more you can check:
(Utilities/Audio, midi setup)
For any other audio device you do this for input and output.
If you get stock post back -
Import data from SQL Server into MS Word document for Mail Merge purpose ?
Hi,
Is it possible to import contacts from SQL Server into MS Word for mail merge purpose or if retrieving data from MS Excel can we update the data in MS Excel sheet without opening it ?
Note: Remember when you open a word document already set up for mail merge, asks you to run the query to return all records from the excel sheet it is connected to.
KhurramWord and the current data source dialog do not really give you any help with that.
You either have to be able to create a View in SQL Server that performs the query you need, then connect to that, or you have to be able to create the correct query manually (or perhaps using some other query tool that can help you), then use VBA to connect
using that query.
For example, if you have been through the connection process once (connecting to a single table) then you will have a .odc (Office Data Connection file) which has the info. needed to connect to the correct server and database. It's a text file with some
HTML and XML inside. You can copy/rename it. Let's say it is called "c:\a\myodc.odc" Then in VBA you can use something like
ActiveDocument.OpenDataSource Name:="c:\a\myodc.odc, _
SQLStatement:="put your SQL statement in here, and if it is long,...", _
SQLStatement1:="put the second part in here"
You get a maximum of either 255 or around 511 characters in the SQL statement, and Word tends to impose some syntax requirements that Transact-SQL does not, so e.g. you may need to quote all your table names.
You can also se an empty .odc file and provide connection info. in the COnnection:= parameter in OpenDataSource.
As background, until Word 2000, by default you would use MS Query to create your SQL query, and MS Query does have facilities that can help you build your query (a bit like the ones in MS Access). That may still be possible (it is a bit harder to find the MS
Query option now, and I am not sure it works with the latest versions of Word). MS Query only works for ODBC queries, and they do not always work correctly when you actually issue the query using ODBC from Word, because of a Word problem to do with Unicode
fields in SQL Server. But you could probably still use MS Query to help you construct your SQL. (It's probably easier to do that in Excel, though).
Peter Jamieson -
Cant do a file get from external server using file sender adapter with ftp
Hi all,
Up until now our company has only used the file sender adapter with ftp protocol to get a file from our XI server for processing and input the file into an integration process
I have a requirement to do an ftp file get from an external server
From our XI development server I can ftp directly to the external server and view the required directory using the command window via a DOS prompt (FTP open ...). So all firewall issues and communications are fine
Unfortunately I cannot currently pull files from the external server using the XI file adapter with ftp protocol from the XI development server AWB017
FTP Connection Parameters: External server name using port 21, Data Connection is Passive, No security, I supply a userid and password
Processing Parameters: Processing Mode is Archive (I tried test but this did not work either)
No messages appear in the RWB
Is there something else that I need to set up in order for the external ftp get to work via the XI file adapter?
Regards,
MikeThanks for your responses.
I have found the error messages in the File Adapter Monitor
Scenario 1
When I prefix the source directory with a forward slash, eg <b>/Folder/Subfolder</b> the error message is as follows
<b>EST: Error: Error connecting to ftp server 'ip address': FTPEx: /Folder/Subfolder: The system cannot find the path specified</b>
Scenario 2
When I DO NOT prefix the source directory with a forward slash, eg <b>Folder/Subfolder</b> a different error message is returned
<b>Error: Retrieving file 'FILENAME.XML' failed unexpectedly: FTPEx: Folder/Subfolder: The system cannot find the path specified</b>
At least in this scenario the adapter has been able to identify the file on the external FTP site but cannot retrieve it
Questions
I thought that the backslash prefix for the source directory was mandatory but I am receiving an error in each scenario
I receive the same error message whether the Processing Mode is 'Archive' or 'Test'
The logs on the external ftp server seem to indicate that I am simply connecting, sending username and password then quiting straight away. I am not issuing any commands that they can see
I thought that being a Sender adapter it would inherently execute a Pull or Get command
To recap, from our XI development server I can ftp directly to the external server and view the required directory using the command window via a DOS prompt (FTP open ...). So all firewall issues, communications, userid and password are fine
Has anyone experienced these issues?
Please advise on next course of action?
Regards,
Mike -
Retrieving File from remove server into String
Hi, I've tried a few strategies to solve this problem but haven't been able to figure it out yet.
Here is what I'm trying to do. From my website, I would like to call a JavaScript function from another external server. When this javascript function is called, it returns something like this:
document.write('<a target=_top href="http://somesite.com/somelink.html">Link in this window</a>');
This works if I use something like <script src="location.of.external.script"></script>
BUT, I would like to take what that script returns to me, and manipulate it in JSP before putting those lines onto my page. Effectively, I want to change it so that the link always opens up into a new window.
Do you have any suggestions? I think this can be done with JSP - but I haven't been able to figure it out yet. How can I call this javascript function using JSP and trap the text that sends it back so I can manipulate it?Hi, I've tried a few strategies to solve this problem
but haven't been able to figure it out yet.
Here is what I'm trying to do. From my website, I
would like to call a JavaScript function from another
external server. When this javascript function is
called, it returns something like this:
document.write('<a target=_top
href="http://somesite.com/somelink.html">Link in this
window</a>');
This works if I use something like <script
src="location.of.external.script"></script>
BUT, I would like to take what that script returns to
me, and manipulate it in JSP before putting those
lines onto my page. Effectively, I want to change it
so that the link always opens up into a new window.
Do you have any suggestions? I think this can be done
with JSPBut you would be wrong. Javascript runs on the client, AFTER the JSP (which runs on the server) has been executed, the HTML response formulated, and sent to the browser. Once on its way you can not interact with the Javascript (or the web page in general). -
Integrating Reports from SQL Server Reporting Services
Dear Experts,
I am given the URL to a report from SQL Server Reporting Services. The URL looks like
[http://<report_server_host>/ReportServer/Pages/ReportViewer.aspx?/<category>/<report>&<list_of_parameter_value_pairs>]
When this URL is executed, the user will be prompted for user name and password.
And I am given the following requirements:
- Integrate the report into SAP NetWeaver Portal
- The report has to be passed parameters with values generated at runtime and which must be hidden (because it is sensitive data)
Initially, I have been working on two options:
1. using Application Integrator (portal application: com.sap.portal.appintegrator.sap, portal component: Generic)
2. using URL iView
With the Application Integrator, however, I got the following error:
The operation you are attempting on item "/" is not allowed for this item type. (rsWrongItemType)
I cannot find the solution to this. It looks like the URL which contain "/" after "?" is not appropriate for the Application Integrator.
So I turn my focus away from the Application Integrator, but to using the URL iView instead. And in order to hide the parameters passed, I make the following settings in the URL iView:
Request Method = POST
Fetch Mode = Server-Side
But then I got the following error:
Failed to fetch the content. The response status was 401.
Message:
(I have defined an HTTP system and used it in the URL iView.)
Does anyone know how to fix the errors (either with the Application Integrator or the URL iView)?
Your answers will be much appreciated!
Regards
Sakprasat SumHi
Was a solution for this found?
I am trying to achieve the same thing, create an iView that links to an existing SQL Reporting Services report.
Cheers,
Andrew -
File from Application server into BW
Hi All,
I have a urgent requirement and I do not know much of ABAP
The requirement is
selecting existing file from application server Dynamically in BW server. This will be done by writing an ABAP code at the InfoPackage level in the External Data Tab but I am in need some ABAP code for the same
Also let me know which table stores AL11 files
I know USER_DIR stores directories but I required the table for the files within the directories.
Any help is appreciatedHi DPN,
If we have a condition like depending on System Date we have to get a file some thing like that then we can do that by using the ABAP Routine. But in your Scenario there are no specific conditions to select a file.
If we have some variable which stores the value which we give and gets the specified file... That Would be Great.
But in Routine we can not use Variables..(As Far As I Know)
So better Select manually every time...
Hope This Helps.
Regards,
rik. -
How to extract files from external server
Dear Friends,
I need to connect to an external non SAP server, from which i need to extract invoice files.
Invoice files are of two types:
1. .dat format files which contain invoice data
2. .PDF or .JPEG documents, which are supporting documents for those invoice.
My question are
1. How do i connect to the external server?
2. Do i have to do a FTP from SAP to that file server?
3. Do i have to fetch the .dat file using dataset statments?
4. What are the basis and network related activities involved to get connected to that external server?
Any inputs and help on this is highly appreciated and rewarded.
Thanks,
SimhaHi Simha,
1. How do i connect to the external server?
Using FTP or RFC, BAPI are also possible to get the data from Non SAP server.
2. Do i have to do a FTP from SAP to that file server?
based on your company policy use FTP to transfer the data.
3. Do i have to fetch the .dat file using dataset statments?
yes. if u using ECC6.0 try this method
CL_RSAN_UT_APPSERV_FILE_READER=>APPSERVER_FILE_READ
Reward if found helpful. -
Using Oracle Forms Importing Data From SQL Server into Oracle Tables.
Dear All,
We are using Oracle Forms 10g in windows XP and having OAS 10g and Oracle database 9i.
How can we import data from SQL Server 2005 into Oracle tables using Oracle Forms?
Thanks & Regards
EidyI have no idea what "Oracle Hetrogenius Services" is, so I can't help you with that, sorry.
SQL Developer might also assist you. SQL Developer can connect to SQL Server as well as Oracle and has some tools for migration. See the documentation for details:
http://download.oracle.com/docs/cd/E12151_01/doc.150/e12156/toc.htm
For additional help on using SQL Developer for this task, please consult Support or the SQL Developer forum: SQL Developer
Hope this helps,
Jacob -
PDF file transfer from File server into SAP
Hi,
I need to get the PDF file which exists in the File server into SAP using XI in any format so that I can convert into required form in SAP but the file exists in PDF format in File server or any method other than XI .Is it possible to do it through XI if so please explain me the procedure.
Answers will be appreciated with points.
Thanks,
Ramesh.Hi Ramesh,
In addition to above reply, also go through these blogs whcuh also talk about ADF Conversion:
<a href="/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield:///people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
<a href="/people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter:///people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter
Regards,
Subhasha Ranjan
Maybe you are looking for
-
Will Apple restore Artist Grid view in iTunes 11?
There are thousands of people asking the very same thing. It's extremely easy for Apple to add this view again!
-
I use SunONE app server 7, JDK 1.4.1_01, on Windows 2000 server SP4. When EJB client EJB, the followed error message would be occured! What's the problem? Any clues are welcomed. WARNING: java.lang.Exception at com.sun.corba.ee.internal.iiop.IIOPConn
-
Suddenly cannot connect to Internet
I am suddenly not able to connect to the Internet. I had not changed any settings. However, I did have some monitor freezing and garbled images on the monitor, for which I had to shut down and restart the computer a couple of times. I have ATT Uverse
-
Sql server 2000 connect with other than jdbc?
Is there any other way to connect to a Sql Server 2000 database other than with jdbc? My problem actually resides in the fact that I did a small program to test the connection to the database and it works perfectly on my computer but on the server th
-
"RoyalMail" zip file - Critical Path fails to inte...
Here it is, obfuscated appropriately: X-Apparently-To: ME btinternet.com via 188.125.85.230; Thu, 28 Nov 2013 10:35:08 +0000 Return-Path: <fraud AT aexp.com> Received-SPF: softfail (transitioning domain of aexp DOT com does not designate 65.20.0.12 a