NEED TO PLACE THE RECORDS POSITION BASED IN THE UNIX APPLICATION SERVER
HI GURUS,
My internal table has 5 fields I have to palce these 5 fields in the application server(/var/opt...) at position based. Each field has to place in different position in the same row in the application server..
please help me ....
reward asure,
with regards,
Thambe.
Hi Thambe,
Can u be more clear on ur requirement. Find below solution as per my understanding.
DATA: l_data TYPE string.
OPEN DATASET po_file FOR OUTPUT IN TEXT MODE.
CHECK sy-subrc IS INITIAL.
LOOP AT itab INTO wa.
CLEAR l_data.
l_data = wa-f1.
l_data+10(5) = wa-f2.
l_data+20(10) = wa-f3.
l_data+50(8) = wa-f4.
l_data+100(20) = wa-f5.
TRANSFER l_data TO po_file.
ENDLOOP.
CLOSE DATASET po_file.
In the Above code at the time of transfer l_data contains all the 5 fields at the specified positions. U can specify the offsets and positions as per ur requirement.
Thanks,
Vinod.
Similar Messages
-
Can't connect to the window application server.
I have installed the Sun Secure Global Desktop Software 4.2,
the client can connect to the unix application server but can't connect to the window applicaiont server.
What can i do?
Thank you.Hi.
Are you sure you're using a Windows server which support Terminal Services? In other words, try (on the Windows server) by escaping to the CMD prompt and issue the
netstat -n
command as to see if port 3389 is listed in LISTEN state.
Best,
Rob -
Not able to find out the path where i need to place the .plx file on server
I have to make some changes in the PLL (library) file and compile it into it's .plx file and move the .plx to the server.
I am not able to find out the path where i need to place the .plx file on the server.
I have placed it in /iasapp01/app_name/library,but it is not taking it into effect.
Please help,if anyone knows about this,as to how to solve this issue
Thanks
GAGHi Andreas,
My Forms Version is 9.0.2 and the application server is 9iAS( 9.0.2)
The variable FORMS90_PATH in the .env file has the following entries
FORMS90_PATH=/iasapp01/app_name/fmx:/iasapp01/app_name/library:/iaspp01/app_name/html
and i have placed the plx in the /iasapp01/app_name/fmx path,but somehow its not referencing it.
My Formsweb.cfg has the following entry...
[app_name]
pagetitle=app_name_WEB
serverapp=/app_name/app_name
width=800
height=550
colorscheme=blue
separateframe=true
form=log.fmx
otherparams=REPORT_PATH=/iasapp01/app_name/html/report_files/ FILE_PATH=/iasapp01/app_name/rep/
WEB_PATH=http://server.com:7778/app_name/
envfile=/ias01/app/oracle/product/ias_9.0.2/forms90/server/app_name.env
I have another question which is ..Does applciation built on Forms 9.0.2 would work on Internet Explorer 8 and Windows 8 environment using Sun JRE.
I was going through this website
http://nutthaphon.blogspot.com/2009/05/how-do-jinitiator-and-jpi-parameters.html
and followed the steps as mentioned,but it did not work for me.
Can you help me if you have any info on this?
Thanks
GAG -
I need help with the Web Application Certificate
Greets,
The title says it all really. I need help with the Web Application Certificate.
I've followed the instructions from here:
https://www.novell.com/documentation....html#b13qz9rn
I can get as far as item 3.c
3. Getting Your Certificate Officially Signed
C. Select the self-signed certificate, then click File > Certification Request > Import CA Reply.
I can get the certificate in to the Filr appliance but from there I'm stuck.
Any help much appreciated.Originally Posted by bentinker
Greets,
The title says it all really. I need help with the Web Application Certificate.
I've followed the instructions from here:
https://www.novell.com/documentation....html#b13qz9rn
I can get as far as item 3.c
ok when you have you self signed certificate and you requested an official certificate with the corresponding CSR then you just need to go back to the digital certificates console. To import the official certificate, select the self signed certificate, then click File > Certification Request > Import CA Reply. Then a new windows pops out to select the certificate from your trusted authority from your local hard disk. Find the file (.cer worked for me) and click ok. As soon as you do this in the digital certificates console the self signed certificate will change the information that now it is officially signed. Look at the second column and you should see the name of your trusted authority under "issue from"
I personally had a lot of issues across all platforms. Especially Firefox and Chrome for android. Needed to pack all the root cert, intermediate cert and signed cert into one file and import as CA reply. Not even sure if this is correct now. But at least it works. -
Discoverer Plus associate with the Oracle Application Server Infrastructure
Hi Everyone,
I just install the Oracle BI (v 10.1.2.0.2) into my 2003 server so I could use the Discoverer Plus and Viewer. This is a stand alone BI installation (I guess, I have little knowledge about Discoverer plus or Oracle AS).
My question is how could I connect the Discoverer plus to my ODS database, so I could create report or view report.
and where to find the Oracle Application Server Infrastructure (or How do I know I have the Oracle Application Server Infrastructure?)
I read the Oracle BI Discoverer Configuration Guide, and it tell me to associate the Oracle BI with the Oracle Application Server Infrastructure to deploy the Discoverer. so I went to the BI Application Server Control page, the Infrastructure section, the Identity Management to configure the Internet Directory, so I could I have the public connection, but it didn't work.
Also do I real need the Oracle AS Infrastructure to make the Discoverer Plus work?
Thanks in advance
Kevin C
Kevin
Edited by: cmingl on Feb 11, 2010 1:30 PMHi Kevin,
Oracle AS Infrastructure is needed only if you are implementing SSO for Discoverer or using Public connection .
Else only Oracle AS Middle tier is sufficient to work with Discoverer Plus .
Regarding "how could I connect the Discoverer plus to my ODS database, so I could create report or view report"
You need to create the End User Layer (EUL) and then grant privilege to the EUL to users who will be creating the report .
Thanks,
Sutirtha -
How to store a JSP file in the SAP Application server ?
Hello All,
My reqt. is as follows :
1. I need to store a JSP File on the SAP Application server .
How can I do this ?
2. I want to call the uploaded jsp file from the server and call this jsp from abap to view the result of it .
How can I achieve this ?
First of all is this possible ?
Regards,
Deepu.KHello Mike,
Thanks for ur reply.
I've imported the JSP as a mime object into the BSP.
Now I've created the page to show that Mime Object as an image.
But nothing is coming as an output.
But then,there is an option for that mime object. i.e when I right click on the mime object there is an option called " convert to BSP".
I selected that option and it created a view in my BSP .( My BSP is a page with flow logic application )
Now how should i make this view to be an output ?
I guess this shud be posted in the BSP Forum ...but still taking a chance here :)-
Regards,
Deepu.K -
Question about the choice of containers of the J2EE application server
Hello,
I need to be clarified about the J2EE technology. After read some documentation about J2EE, I saw that it is possible to use different kind of containers in order to develop a J2EE application.
Actually I use an application server (JONAS) with tomcat embbeded so I develop my application that is composed by EJB and servlet. So when I build and deploy my application at the end I have got a .ear, and everything works well.
But my questions are:
1- If I installe a J2EE server where a web server (Tomcat or another) is already installed can I use this web server as my web container.
2- If it is possible how can I indicate to my J2EE server that I want to use this web server as a web container?
3- And for my application does the .ear will work or do I have to split my entire application in .jar for the EJB and .WAR for the servlet.
4- My last question, how my .war and .jar will know that they have to work together, in fact do I have to precise a link between them if yes how?
Thank you very much for any information1. Every J2EE server must have a web container, so one will always be installed. As long as you write a compliant .war that is deployed either stand-alone or as part of an .ear, you can be guaranteed it will deploy and run.
2. The fact that you are deploying a .war or an .ear that contains 1 or more .wars is enough for the J2EE product to know you need to run the web-application on the web container. Many people uses the terms
web server and web container interchangeably. Often people are more likely to use the term web server if it runs as a separate process. If it helps, you can think of the J2EE web container as being an implementation of a servlet and jsp container that runs on top of a regular HTTP engine, but J2EE vendors don't necessarily have to have separate products for each.
3. You can either deploy a standalone .war or embed 1 or more .wars within an .ear.
4. The fact that you have a .war and an ejb-jar within the same .ear tells the application
server that they're part of the same application. If you need to talk between your web application
and the ejb, there are number of ways to express that dependency. E.g., if you want to invoke on
an ejb through its Remote client view, you would define an ejb-ref in the environment of the web-application.
--ken -
The BPM application server is not available
Hello there
I have installed and configured Aqualogic Enterprise for
Weblogic from scratch following the manual http://edocs.bea.com/albsi/docs57/adminguide/index.html.
I have my weblogic server started and have started servicing all requests for wlj2eedeployer.
But when i click on the leaf button for my engine ear or any ear in Engines/EditEngine/J2EE Application server files,the install icon is not coming.The BPM application server is not available is the message displayed.Please help.yup.I can see the hiperspace with my processes in it.
As you said i installed and configured from scratch.
But when i click on the process application
"Component execution error.
Note: In order to send the administrator the information he needs to solve this problem, complete the following steps:
With the error message still displayed in your browser, go to the File menu of the browser and select the option 'save as'.
A dialog to choose the directory where to save the file will be displayed. Browse until you get to the directory which you would like to save the page with error.
Give the file a name and click 'save'. By doing this, you are saving the error message to a file from which the administrator can identify the problem by looking at its code" is getting displayed.I tried the sample hello world process also.I got the same error.But am very happy that i can view my processes.thanks for all the help. -
What is the application in the System Application Server
Hi, I'm a beginner who does not have much knowledge on Application Servers and databases. Would like to ask, when we log in to the Sun Java System Application Server, we can create a database under Connection Pools. So would like to ask, what is the application in the system application server, and where is it located?
I also have this application server with database, so how do I check if the database is connected to the application server?
Much help is needed, thanks.Hi, I'm a beginner who does not have much knowledge on Application Servers and databases. Would like to ask, when we log in to the Sun Java System Application Server, we can create a database under Connection Pools. So would like to ask, what is the application in the system application server, and where is it located?
I also have this application server with database, so how do I check if the database is connected to the application server?
Much help is needed, thanks. -
JSP and the Sun Application Server. Is it really nessecary?
Downloaded Creater 2, and love it. I really didn't realize how easy JSP is. Though I would be interested in knowing: Does the Sun Application Server needs to be running in order to use JSP.
Talking to my Hosting Provider, they have a plan in which JSP is included but the Sun Application Server is not. If I decide to get their JSP Hosting plan, do I truly need the Application Server to run my JSP forms and all the other great things that Creater 2 has to offer?
Thanks in Advance!
JosefNo you don't. You're app will run in any JEE server like Tomcat, Jetty, JBoss, Jonas, etc. If you are using EJBs, however, the server you choose must have EJB support.
-
How Standalone OC4J and the Oracle Application Server linked to each other
Hi ,
Please let me know what is the relation between a Standalone OC4J and the Oracle Application Server ?
In my application The Oracle Application Server is installed in C drive and there is a Stand alone oC4j .
Please tell me how they are linked to each other .
Thank you .It depends on your need and what features and functionality of Oracle Application Server you are interested in. Note that OC4J is a component of Oracle Application Server that can run as a standalone component or within Oracle Application Server. Question #6 in earlier mentioned FAQ document states:
OC4J standalone is J2EE 1.3 compatible (1.4 and 1.5 too in later releases of OC4J) and is able to be used in both development and small scale production environments. OC4J standalone provides its own inbuilt HTTP/S listener to allow clients to execute Web applications that it has deployed. Application deployment and server configuration of OC4J standalone is performed by the manual editing of a simple set of XML files.
For large scale enterprise deployments, the Oracle Application Server product is likely to be more suitable with its comprehensive feature set including Oracle HTTP Server, process monitoring and management capabilities, and its configuration and management console.
So if you are happy with what you see in standalone OC4J and scalability isn't an issue for you, you can stay with standalone OC4J and don't need to move to Oracle Application Server.
PS: If you do decide to use OC4J that's embedded with Oracle Application Server, you can't move your standalone OC4J inside Oracle Application Server. You will have to reconfigure embedded OC4J again (as you might have done with standalone OC4J) and redeploy your applications.
Hope this helps.
Thanks
Shail -
Crystal Reports error - The Report Application Server failed
Hi,
I am getting the following error on XP Professional system. These reports were built earlier by one of my collegue and am trying to use the app but i stuck up getting the below error. The report gets failed
repPath=Server.MapPath ("./Reports/Umbrellas.rpt");
crReportDocument.Load(repPath); //Fails here
crReportDocument=SetLogonForReport(crReportDocument);
crReportDocument.SetParameterValue ("fromDate",DateTime.Parse (fromdt) );
crReportDocument.SetParameterValue ("toDate", DateTime.Parse (todt) );
I tried in design time attaching to Crystal Reports Viewer object , i get the same error. It looks like something related to Crystal Reports got corrupted in this system.
Please find the stack trace for the error
Stack Trace:
[COMException (0x80004005): The Report Application Server failed]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
CrystalDecisions.ReportSource.NonHTTPCachedReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated)
CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext)
CrystalDecisions.Web.ReportAgent. (Boolean o)
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e)
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1488
Environment:
.NET v1.1.4322
Crystal Reports 10.0.0.533
OS: Windows XP Professional - Ver 2002 Severice Pack 2
I tried some of the solutions provided by searching web, it does not work. Please help!!!
Appreciate your help on this.
Edited by: KMallik2000 on Jul 15, 2009 4:39 PMHi,
I am trying to replicate the same issue on new desktop which has crystal reports 9.1 & 10 installed. I still see crystal reports 9.1 controls when i open VS.net. when i compare both desktop installed softwares, i found that the other desktop has "Crystal Reports 10 .NET runtime installed" which is not there on the new desktop. please advise whether i need to install this software to get ver 10 components installed? Appreciate your help on this. can you also advise the software download location for 10 .net run time installation?
In other words, though crystal reports 10 got installed on this desktop but it is not getting referenced in VS.NET. I am seeing only 9.1 version assemblies are being used. hence my solution is not getting compiled in this desktop. Please advise how to get the version 10 assemblies referenced in the solution
Edited by: KMallik2000 on Jul 20, 2009 4:46 PM -
What causes The Report Application Server failed exception?
My environment:
Windows Server 2008 R2 8 cores 6 gig of ram.
A Windows Service running:
Oracle 11g
Oracle 11.2 64 bit client
C# 4.0 Framwork
Crystal Reports Visual Studio 2010 13.0.2000
This window service needs to create 1100 pdf documents generated by crystal reports per hour for a minimum of 8 hours straight.
These pdf files are written on the local file system.
The Windows Service runs 3 threads per core. Each thread can run up to 5 individual CR .rpt files in a sequential order.
After 4000 pdf documents created, I get the following errors.
1) The Report Application Server failed
2) Server is out of memory.
3) Not enough memory for operation.
4) Invalid report file path.
Using Windows Task Manager Resource Monitor I noticed the following:
After running 3000 pdf report requests, I stopped the processing pdf reports and noticed hundreds of
\BaseNamedObjects\CrystalReportXalanInitizeMutex(Pid of my process)
Why are they there after a close and dispose of the ReportDocument object?
I ran Reggate ANTS Memory Profiler 7.2 to check for memory leaks in my code and my code that I have control over is clean.
Why am I getting the exceptions above?
My code calls ExportReportToSream. After persisting the stream to disk, I call Close and Dispose on the stream.
My Code
========================================================================================== public MemoryStream ExportReportToStream(String reportName, LogOnInfo logOnInfo, string reportParams, CrystalExportFormatType formatType)
ReportDocument reportDoc = new ReportDocument();
if (!System.IO.File.Exists(reportName))
throw new InvalidArgumentException("reportName '" + reportName + "' does not exist", EngineExceptionErrorID.InvalidArgument);
try
lock (lockThis)
reportDoc.Load(reportName, OpenReportMethod.OpenReportByTempCopy);
ApplyLogOnInfo(reportDoc, logOnInfo);
//apply params if any
if (!String.IsNullOrEmpty(reportParams))
ApplyStringParams(reportDoc, reportParams);
return (MemoryStream)reportDoc.ExportToStream((ExportFormatType)formatType);
//we need to use the try catch, finally so the report can be disposed properly
catch (Exception)
throw;
finally
DistroyReportDocument(reportDoc);
reportDoc = null;
private void ApplyStringParams(ReportDocument reportDoc, string reportParams)
if (reportDoc == null)
return;
if (String.IsNullOrEmpty(reportParams))
return;
string[] paramsArray = reportParams.Split('|');
string[] subParamsArray = null;
//apply report params
ParameterValueKind type;
string paramValue = string.Empty;
ParameterField paramField = null;
ParameterDiscreteValue discreteValue;
int x = 0;
int paramCount = 0;
for (x = 0; x < reportDoc.ParameterFields.Count; x++)
// The ParameterFields object contains all parameters including the subreports.
// Subreport params have the name of the subreport.
if (reportDoc.Name.Trim().ToUpper() == reportDoc.ParameterFields[x].ReportName.Trim().ToUpper())
paramCount++;
Edited by: Ludek Uher on Dec 15, 2011 7:57 AM
Edited by: Ludek Uher on Dec 15, 2011 7:58 AMif (paramsArray.Length < paramCount)
throw new InvalidArgumentException("invalid number of arguments passed to report '" + reportDoc.Name + "' expected " + reportDoc.ParameterFields.Count + " received " + paramsArray.Length, EngineExceptionErrorID.InvalidArgument);
for (x = 0; x < reportDoc.ParameterFields.Count; x++)
if (reportDoc.Name.Trim().ToUpper() != reportDoc.ParameterFields[x].ReportName.Trim().ToUpper())
continue;
paramValue = paramsArray[x];
paramField = reportDoc.ParameterFields[x];
type = paramField.ParameterValueType;
if (paramField.EnableAllowMultipleValue && paramValue.IndexOf(',') > -1)
subParamsArray = paramValue.Split(',');
ParameterValues currentParameterValues = new ParameterValues();
foreach (string subParamValue in subParamsArray)
discreteValue = new ParameterDiscreteValue();
discreteValue.Value = subParamValue;
currentParameterValues.Add(discreteValue);
paramField.CurrentValues = currentParameterValues;
else
discreteValue = new ParameterDiscreteValue();
discreteValue.Value = paramValue;
paramField.CurrentValues.Add(discreteValue);
private bool ApplyLogOnInfo(ReportDocument document, LogOnInfo logOnInfo)
TableLogOnInfo info = null;
// Define credentials
info = new TableLogOnInfo();
info.ConnectionInfo.AllowCustomConnection = true;
info.ConnectionInfo.ServerName = logOnInfo.ServerName;
info.ConnectionInfo.DatabaseName = logOnInfo.DatabaseName;
// Set the userid/password for the report if we are not using integrated security
if (logOnInfo.IntegratedSecurity)
info.ConnectionInfo.IntegratedSecurity = true;
else
info.ConnectionInfo.Password = logOnInfo.Password;
info.ConnectionInfo.UserID = logOnInfo.UserID;
// Main connection?
document.SetDatabaseLogon(info.ConnectionInfo.UserID,
info.ConnectionInfo.Password,
info.ConnectionInfo.ServerName,
info.ConnectionInfo.DatabaseName,
true);
// Other connections?
foreach (CrystalDecisions.Shared.IConnectionInfo connection in document.DataSourceConnections)
connection.SetConnection(logOnInfo.ServerName, logOnInfo.DatabaseName, logOnInfo.IntegratedSecurity);
connection.SetLogon(logOnInfo.UserID, logOnInfo.Password);
connection.LogonProperties.Set("Data Source", logOnInfo.ServerName);
connection.LogonProperties.Set("Initial Catalog", logOnInfo.DatabaseName);
// Only do this to the main report (can't do it to sub reports)
if (!document.IsSubreport)
// Apply to subreports
foreach (ReportDocument rd in document.Subreports)
ApplyLogOnInfo(rd, logOnInfo);
// Apply to tables
foreach (CrystalDecisions.CrystalReports.Engine.Table table in document.Database.Tables)
TableLogOnInfo tableLogOnInfo = table.LogOnInfo;
tableLogOnInfo.ConnectionInfo = info.ConnectionInfo;
table.ApplyLogOnInfo(tableLogOnInfo);
if (!table.TestConnectivity())
string strMsg = "ApplyLoginInfo failed to apply log in info for table " + table.Name + ", Crystal Report: " + document.FileName + " DB: " + logOnInfo.DatabaseName + " UserID: " + logOnInfo.UserID;
throw new InvalidOperationException(strMsg);
//verify logon info
document.VerifyDatabase();
return true;
private void DistroyReportDocument(ReportDocument document)
if (document == null)
return;
document.Close();
Edited by: Ludek Uher on Dec 15, 2011 7:59 AM -
CrystalReport - Getting "The Report Application Server failed" while export
Hi Experts,
I am using Crystal Reports 2008 in my ASP.NET application to generate reports. Everythings works fine in the development environment. When I deploy it on my Windows Server 2003 system, I get an error "The Report Application Server failed" while exporting the report from the report control. But, the report assuch is working fine even in the production environement. I experience this issue only while exporting to excel or anyother format.
Do I need to configure anything or any settings needs to be turned on in the .rpt files!!
Appreciate any help to get this issue resolved.
TIA,
PremFirst a confirmation. When you say; "...exporting the report from the report control...", you mean the printer button on the viewer?
Questions;
What version of .NET?
What Crystal Reports Service Pack are you on?
How was the CR runtime installed on the server?\
Can you print the report OK?
Are you using sessions?
Ludek -
Can apex work without the oracle applications server? How?
My question is just what the title says.
Can apex work without the Oracle applications server?
I've heard it needs a web server to work but not necessarly the oracle applications server.
Is it true?
With ONLY apache installed can apex work on top of it?
Thanks
Don't forget to assign points to those who help you! (Mark the thread Helpful/Correct)
My Homepage
Best Regards
Edited by: Igor Carrasco on May 29, 2009 2:59 PM
Edited by: Igor Carrasco on May 29, 2009 2:59 PMHello,
Take a look at the Installation Guide which covers all the different options you have (as there are a few variations) -
http://download.oracle.com/docs/cd/E14373_01/install.32/e13366/toc.htm
but yes, in short you can have a configuration where there is no external webserver which uses the embedded PL/SQL gateway.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!
Maybe you are looking for
-
How do I remove an icloud account from my iphone??
I don't have the password...I set this icloud account when I was in college...I have since set up my icloud account with a more current email contact, but when I synced my new phone it shows the old college email on my icloud. I tried to recover my p
-
Hello. I bought an HP Deskjet F380 all in one for my Macbook. Installation went fine Monday and printed a few photos and documents. Tried using it again Wednesday to print out a few pics, but nothing happened. Job operation on printer browser says it
-
Final Cut Express 4 keeps crashing while exporting large project
I have an Imac and I'm using final cut express 4. I keep having a problem when exporting project to quicktime conversion for youtube. The software just keeps crashing and giving me an error. I normally only have this proble with projects that have al
-
Reg.write query for report
Dear Experts I am MM consultant and I am in need of generate reports.I don't know how to get the data from two table. Pls help me with some codings Thanks Rajakumar.K
-
Should I use adobe lightroom or adobe cs6
I have done some general work with Adobe CS5 in the extended and student version and am wondering if I should buy Adobe CS6 or go to light room.