ASP application view
I am relatively new to website development, i decided to have
my website application server on ASP/IIS platforn running on Vista
(temporarily), I have managed to link all my sql tables, created
recordset etc, but each time I try to preview my form on browser(eg
list items on a table/form from sql ), i get this error message (An
error occurred on the server when processing the URL. Please
contact the system administrator).....from design view, i can see
the data on recordset/table on application window.....what can i
do?
Merete,
first: Welcome on SDN!
The issue you found out is correct. When activating "Server side fetching" the start page will be retrieved from your backend directly by the portal server and from there delivered to the user. For subsequent requests (e.g. after clicking on a link, button ...) this is not possible. This would (among others) require the portal to rewrite all URLs in your ASP application to point to the portal (instead of the ASP server) - a feature that is not available.
The usual way for exposing a web application to the internet would be a reverse proxy. There have been some quite good weblogs posted here recently. Check these out:
<a href="https://weblogs.sdn.sap.com/pub/wlg/1128">https://weblogs.sdn.sap.com/pub/wlg/1128</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/1298">https://weblogs.sdn.sap.com/pub/wlg/1298</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/2992">https://weblogs.sdn.sap.com/pub/wlg/2992</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/3009">https://weblogs.sdn.sap.com/pub/wlg/3009</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/3095">https://weblogs.sdn.sap.com/pub/wlg/3095</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/3495">https://weblogs.sdn.sap.com/pub/wlg/3495</a>
Hope you find them useful.
Another hint: If you find answers to your questions here in the forums useful, be kind and mark valuable answers using the "star" icon next to them.
Kind regards,
Dominik Witte
Message was edited by: Dominik Witte
Similar Messages
-
To view an asp application externally
We have an asp application that we want to show in the portal through an iview. The challenge is to make the application available externally outside our firewall etc. What we have done is to create an URL iview and set the properties Cache level to Shared and Fetch Mode to Server side. This way we can access the start page externally (even though the styles are not showing) but when we click any buttons (submit, search etc) it is trying to access our local server directly instead of going through the portal. Any tips on how we can make this work?
Merete,
first: Welcome on SDN!
The issue you found out is correct. When activating "Server side fetching" the start page will be retrieved from your backend directly by the portal server and from there delivered to the user. For subsequent requests (e.g. after clicking on a link, button ...) this is not possible. This would (among others) require the portal to rewrite all URLs in your ASP application to point to the portal (instead of the ASP server) - a feature that is not available.
The usual way for exposing a web application to the internet would be a reverse proxy. There have been some quite good weblogs posted here recently. Check these out:
<a href="https://weblogs.sdn.sap.com/pub/wlg/1128">https://weblogs.sdn.sap.com/pub/wlg/1128</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/1298">https://weblogs.sdn.sap.com/pub/wlg/1298</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/2992">https://weblogs.sdn.sap.com/pub/wlg/2992</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/3009">https://weblogs.sdn.sap.com/pub/wlg/3009</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/3095">https://weblogs.sdn.sap.com/pub/wlg/3095</a>
<a href="https://weblogs.sdn.sap.com/pub/wlg/3495">https://weblogs.sdn.sap.com/pub/wlg/3495</a>
Hope you find them useful.
Another hint: If you find answers to your questions here in the forums useful, be kind and mark valuable answers using the "star" icon next to them.
Kind regards,
Dominik Witte
Message was edited by: Dominik Witte -
Problem with sso for asp applications
Hi,
i am using the web app integrator to integrate asp application with SSO, i am getting permission denied some times, the permission denied is a small html file on asp server side when userid is null.
I am sure that the user id is not null because i have written small script to respond back with the passed user id like response.write(""), it is giving back the passed user id every time but at the same time i am getting Permission denied.
The permission denied is a small html file on the .net server side when the ui=null in the pssing URL.
How this is happening at the same time, one is giving back the user id and one is taking the user id as null.
some times i am getting right page and some times giving permisssion denied.
the basic URl is
http://abc.xyz.com/sm_log.asp?userid=damodhar
There is no great security behind this only passing user id, they are not passing the password even in the http header authentication. the simple logic is they are hiding the URL from the view source.
if i pass the hard coded url from the browser i am getting the proper page at the same time if i pass the url from portal it is working some times and some times not, i don't know when?
I am using the web application integrator method.
we are operating portal server from internet and .net server is on intranet.
Thanks,
Damodhar.If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
This support article from Apple explains how the side switch works.
http://support.apple.com/kb/HT4085 -
Report.Load Error with ASP application
Hi,
I experienced a few instances where my the follow statement where my ASP application (using VS2005, CRXI-R2+SP4, Datasets and CR Viewer on the server) thows an error on my server (running Server 2003).
Dim Report As CrystalDecisions.CrystalReports.Engine.ReportDocument = _
New CrystalDecisions.CrystalReports.Engine.ReportDocument()
Try
Report.Load(Server.MapPath("~/Private/Event/WebEvent.rpt"))
Catch ex As Exception
JavaMessage("Report Not Found")
Exit Sub
End Try
I don't know what the exception is at this point. But something happens and the crystal reports in all my websites break uniformly. I need to restart IIS to get things back working. This has happended to me 3x now.
Any ideas?
Thanks,
EricHi,
As a best practice use Close() and Dispose() method also gc.Collect();
Check if this helps!!
Amit -
Good morning to all of you.
I have used Dreamweaver at work for many years to manage our extensive classic ASP applications. I like the interface but I have found that programming with a darker background is much easier on my eyes. I found some dark code view background profiles that covered HTML/PHP/CFM files and loved how they looked on those type of projects but they were lacking ASP support. I took the time to create the profile for ASP Vbscript and then copied it to ASP Javascript so no matter what language I'm in they will be the same. It looks great but I have to fake out Dreamweaver to force it to view the code in the right file type. It seems Dreamweaver is pretty inconsistent with determining the ASP file/language type.
If I use:
<% @Language="vbscript" %>
It will load the correct profile and things seem well. If I don't do that, I not only don't get the correct coding but the commenting doesn't look right either. I have to end every line with that has a comment a single apostrophe as well to keep it from getting the code view appearance looking wrong.
This hackish attempt above works but it bad style. You can't define this more than once in a document and would be problmenatic if you use include files (who doesn't really?)...
I almost exclusively code ASP-VB. How can I make Dreamweaver read ALL ASP files in this the ASP-VB format by default? As it sits right now, it's totally wrong.
Thanks in advance,
Joe JenkinsIt's not so much doing with the actual language. It's the fact that Dreamweaver doesn't recognize that the .asp file is indeed ASP so it applied the wrong code view coloring, rules for comments and no suggestive code. If I am drop the language in the top of the file, this corrects THAT file but if you have multiple include files and you push it to your server like this (wish this language definition in each of those files) you will get an error from the server for multiple definitions.
Exmaple:
Top of main file:
<%@Language="vbscript" %>
<!--#include virtual="../aspinclude/dbconnect.asp"-->
<!--#include virtual="../aspinclude/utils.asp"-->
<!--#include virtual="../aspinclude/utils_workorders.asp"-->
Top of an included file:
<%@Language="vbscript" %>
<%
dim StartTime : StartTime = Timer()
Session.Timeout = 120
If you tried to fake out the code view by doing that to MAKE it view the file as an ASP-VB file, it's not only bad practice, it's redundant and the server will cough at it giving you an error that simply tells you that the declaration has to be on the first line. This is true, in the main file, but the included file would then put it inline on whatever line it happens to be as part of the compiled page which is invalid.
The main problem is that I have to fake out the code view by defining the language on every page I edit to get text-coloring right and other features. The question is can I make it always default to maybe ASP-VB unless explicitely defined something else like @Language="Javascript" ?
Joe Jenkins -
Get spuser from asp application
Hello,
I am using a page viewer web part to host an asp .net web application. Is it possible to use SPUser to get the current logged in user from the asp application?
Thanks for any thoughtsIn order for your asp.net application to take advantage of SharePoint context is it must be running under the SharePoint website in a virtual directory. For instance you could create a virtual directory under the SharePoint site located under _layouts. Then you could set your page view webpart link to http://servername/sharepointsite/_layouts/aspnetapplication/default.aspx. So then your asp.net application would have access to the SPContext. If you do not want to do this then if you want some authentication or personalization transferred to your asp.net application then you will have to create a custom webpart that some how takes SPContext and transferes it via for example a query string.http://www.certdev.com
-
Application view creation in WLI SERVER
Hi folks,
w,r.to my previous mail,Iam getting the following errors while i try to login
to the Application view console in WLI
Server.pl. anyone try to help me to sort this problem.Iam new to WLI Server.
<Cannot startup connection pool "wliPool" java.sql.SQLException: No suitable driver>
<Jun 13, 2003 5:02:45 PM IST> <Error> <JDBC> <001059> <Error during Data Source
creation: weblogic.common.ResourceException: DataSource(WLAI_DataSource) can't
be created with non-existent Pool (connection or multi) (wliPool)
at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:260)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
<Jun 13, 2003 5:02:49 PM IST> <Alert> <JMS> <040052> <JMSServer "WLIJMSServer",
store failed to open, java.io.IOException: JMS JDBC store, connection pool = <wliPool>,
prefix = <myserver___PBPUBLIC>: connection pool does not exist.
java.io.IOException: JMS JDBC store, connection pool = <wliPool>, prefix = <myserver___PBPUBLIC>:
connection pool does not exist
>
<Jun 13, 2003 5:02:52 PM IST> <Error> <Connector> <190024> << Calumma LDAP JCA
Resource Adapter_LdapConnector > Error making initial connections for pool. Reason:
CreateManagedConnection Error: 192.168.66.144:389>
<Jun 13, 2003 5:03:04 PM IST> <Error> <AI> <000000> <Failed to initialize the
WLI-Application Integration enterprise application due to an exception while initializing
JMS resources.
com.bea.wlai.JMSResourceException: Failed to initialize the WLAI asynchronous
service request JMS Queue 'WLAI_ASYNC_REQUEST_QUEUE' bound at JNDI context 'com.bea.wlai.ASYNC_REQUEST_QUEUE'.
Root Cause: javax.naming.NameNotFoundException: Unable to resolve 'com.bea.wlai.ASYNC_REQUEST_QUEUE'
Resolved: 'com.bea.wlai' Unresolved:'ASYNC_REQUEST_QUEUE' ; remaining name 'ASYNC_REQUEST_QUEUE'
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.bea.wlai.JMSHelper.initQueue(Unknown Source)
<Jun 13, 2003 5:03:05 PM IST> <Critical> <WebLogicServer> <000286> <Failed to
invoke startup class "LwcStartup", java.lang.ClassNotFoundException: com.bea.lwclient.Startup>
<Jun 13, 2003 5:03:07 PM IST> <Notice> <Management> <141052> <Application Poller
started for development server.>
<Jun 13, 2003 5:03:11 PM IST> <Error> <HTTP> <101165> <Could not load user defined
filter: com.bea.b2b.transport.http.TransportServletFilter
java.lang.ClassNotFoundException: com.bea.b2b.transport.http.TransportServletFilter
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:179)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:62)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)
at weblogic.servlet.internal.WebAppServletContext.loadClass(WebAppServletContext.java:4714)
at weblogic.servlet.internal.WebAppServletContext.registerFilter(WebAppServletContext.java:2446)
at weblogic.servlet.internal.WebAppServletContext.initFilters(WebAppServletContext.java:2433)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2703)
at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:563)
at weblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
at java.lang.Thread.run(Thread.java:536)
>
<Jun 13, 2003 5:03:11 PM IST> <Error> <socket> <000433> <Unable to load performance
pack, using Java I/O instead.
Please ensure that libmuxer library is in :'/home/tsuresh/j2sdk1.4.0/jre/lib/i386/client:/home/tsuresh/j2sdk1.4.0/jre/lib/i386:/home/tsuresh/j2sdk1.4.0/jre/../lib/i386'
java.lang.UnsatisfiedLinkError: no muxer in java.library.path
java.lang.UnsatisfiedLinkError: no muxer in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410)
at java.lang.Runtime.loadLibrary0(Runtime.java:772)
at java.lang.System.loadLibrary(System.java:832)
at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:180)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:54)
at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:37)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:205)
>
<Jun 13, 2003 5:03:12 PM IST> <Notice> <Management> <141030> <Starting discovery
of Managed Server... This feature is on by default, you may turn this off by passing
-Dweblogic.management.discover=false>
<Jun 13, 2003 5:03:12 PM IST> <Notice> <WebLogicServer> <000354> <Thread "ListenThread.Default"
listening on port 7010>
<Jun 13, 2003 5:03:12 PM IST> <Notice> <WebLogicServer> <000331> <Started WebLogic
Admin Server "myserver" for domain "ldap_adapterdomain" running in Development
Mode>
<Jun 13, 2003 5:03:15 PM IST> <Notice> <WebLogicServer> <000365> <Server state
changed to RUNNING>
<Jun 13, 2003 5:03:15 PM IST> <Notice> <WebLogicServer> <000360> <Server started
in RUNNING mode>
<Jun 13, 2003 5:04:18 PM IST> <Error> <AI> <000000> <Could not create NamespacePersistence
Object.
-------- Begin level 0 Exception Stack Trace --------
com.bea.wlai.repository.PersistenceException: Failed to initialize WLI repository
access layer for the Application Integration subcomponent because the JDBC data
source was not found at JNDI name WLAI_DataSource due to Unable to resolve 'WLAI_DataSource'
Resolved: '' Unresolved:'WLAI_DataSource'
at com.bea.wlai.repository.NamespacePersistence.initDataSource(Unknown
Source)
at com.bea.wlai.repository.NamespacePersistence.<init>(Unknown Source)
at com.bea.wlai.NamespaceManagerImpl.<init>(Unknown Source)
at com.bea.wlai.NamespaceManagerImpl.getInstance(Unknown Source)
at com.bea.wlai.client.bean.NamespaceManagerBean.establishImpl(Unknown
Source)
at com.bea.wlai.client.bean.NamespaceManagerBean.ejbCreate(Unknown Source)
at com.bea.wlai.client.bean.NamespaceManagerBean_k6j0cj_Impl.ejbCreate(NamespaceManagerBean_k6j0cj_Impl.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:101)
at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:142)
at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:127)
at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:61)
at com.bea.wlai.client.bean.NamespaceManagerBean_k6j0cj_EOImpl.getRootNamespace(NamespaceManagerBean_k6j0cj_EOImpl.java:83)
at jsp_servlet.__nshierarchy._jspService(__nshierarchy.java:115)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:543)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:369)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:136)
at jsp_servlet.__display._jspService(__display.java:511)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
rgds
Suresh.K
1) http://commerce.bea.com/showproduct.jsp?family=WLP&major=8.1&minor=4
2)Make sure you add your JDBC drivers to the beginning of CLASSPATH in either setDomainenv.cmd or setEnv.cmd
3)What really helped was BEA support and playing with BEA's JDBC example that shows how to create and deploy and use a data source.
http://dev2dev.bea.com/codelibrary/code/examples_jdbc.jsp -
A problem when I try to create a application view throug a Bea MQSeries Adapter8.1
Hi, guys!
I have installed Weblogic platform 8.1 beta, and try to use the MQSeries Adapter
which provide by Bea weblogic, and it's seems I must deploy the .ear file which
is an application include the MQ Adapter, on a domain which provide the Integration
function, the ear file I was download from bea site. So I deploy it in the samples/domain/platform
domain as the docs told me. And after that I create a new directory called session
and a subdirectory contain a manifest.xml file, I do this also due to the docs
provide by Bea. And then I can create the application view in the application
view console, BUT, when I try to add a Event in the console, the page and OS console
both print this message :
DEBUG 21 ?? 2003 20:43:11,906 BEA_MQSERIES_1_0.DesignTime - getMergedDictionary
got exception:
DEBUG 21 ?? 2003 20:43:11,906 BEA_MQSERIES_1_0.DesignTime -
StackTrace:
java.lang.NullPointerException
at com.ibi.beamqseries.web.DesignTimeRequestHandler.getMergedDictionary(DesignTimeRequestHandler.java:372)
at jsp_servlet.__addservc._jspService(__addservc.java:120)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1047)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:383)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:301)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:547)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:364)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:153)
at jsp_servlet.__display._jspService(__display.java:632)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1047)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:383)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:301)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6319)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3525)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2553)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
And I'm not quit sure about how to make the Schema directory correcttly, I just
make one manifest.xml file. and hope I can find more document about the adapter,
or can fix this problem.
by the way, I just have userguid, installguide and releasenotes pdf file which
can be download from Bea
Regards,
shannon
Can you tell me the exact url of the BEA_MQSERIES_8_1.ear?
Please give it to me... Thanks in advance... -
Use of an application view for SAP R/3
Hello,
I created an Application View of my SAP R/3 backend and integrated it into Weblogic
Workshop.
I fire a request to the BAPI through the App View, but nothing happens. I thought
I get a response through the response event??? Maybe someone has an idea... here
the code:
import weblogic.jws.control.JwsContext;
import MySAPControllerControl.MySAPServiceRequest;
import MySAPControllerControl.MySAPServiceResponse;
import MySAPControllerControl.MySAPEventEvent;
* @jws:target-namespace namespace="com.js.sap"
public class SapService
* @jws:control
private MySAPControllerControl SAPController;
/** @jws:context */
JwsContext context;
* @jws:operation
public void CallSapConnector()
try
MySAPControllerControl.MySAPServiceRequest.PurchaseOrderGetDetail peter
= new MySAPControllerControl.MySAPServiceRequest.PurchaseOrderGetDetail();
peter.PURCHASEORDER = "4500006374";
peter.ITEMS = "X";
SAPController.MySAPService(peter);
catch(Exception ex)
System.out.println(ex.getMessage());
private void SAPController_onMySAPServiceResponse(java.lang.String requestID,
MySAPServiceResponse.PurchaseOrderGetDetailResponse PurchaseOrderGetDetailResponse)
String a = PurchaseOrderGetDetailResponse.PO_ITEMS.toString();
System.out.println(a);
System.out.println(requestID);
private void SAPController_onMySAPEvent(MySAPEventEvent.BAPI_PO_GETDETAIL
BAPIPOGETDETAIL)
System.out.println("Event:" + BAPIPOGETDETAIL.ITEMS);
private void SAPController_onAsyncServiceResponse(java.lang.Object asyncResp)
private void SAPController_onEvent(java.lang.Object event)
private void SAPController_onAsyncServiceError(java.lang.String asyncError,
java.lang.String asyncError2)
thanks for any response!
regards, uggarcan u pls tell me how u solved it
I am working on Production system when I go to rsa5 it displaying the msg
No valid application component hierarchy exists
Message no. R8053
Diagnosis
Currently no application component hierarchy ("APCO_MERGED", database table RODSAPPL and RODSAPPLT) exists in the system. This is required in BW so that the DataSources can be displayed correctly in the source system tree.
Procedure
Copy the application component hierarchy from the Content using transaction RSA9.
In development system I went to RSA9 & transferred the application componet then its asks or pkg name I have given the pkg name also before use the datasrcs , I have transported the same thing to production before transporting the datasrcs but in production the application component herarachy did not get transported I think that why its giving the msg No valid application component hierarchy exists but my datasrcs got transported ,pls suggest me what has to be done
Should I import the same request in to production again
Or shall I run rsa9 again & transfer the application component hierarchy again & transport it to production id I do this will already transported datarscs have any effect in production -
Import / export of Application view and Data Form
Hi,
I'd like to know if it's possible to backup or export Applications View in EPMA and Data Form in a Planning Application between the test and production machine.
Can anyone help me?
Thanks in advance.
AleHi John and Hi to all,
I’ve used the EPMA File Generator that you sent me both under a test virtual machine and our test machine, but always I’ve the same problem (deploy aborted on 0%), that I’ve pasted up in this tread, and I’ve note that after the exporting with the EPMA File Generator, the original application view not deploys with the followed message:
Status : Aborted
Progress : 100%
Server : DimServer
Detail : App Creation failed with Exceptioncom.hyperion.planning.OptimisticConcurrencyException: You are trying to change data that has been changed by a user on another server. Wait a few seconds and try again. If you continue to see this error message, please contact your administrator. at com.hyperion.planning.sql.actions.HspObjectAction.ensureOptimisticConcurrency(Unknown Source) at com.hyperion.planning.sql.actions.HspObjectAction.update(Unknown Source) at com.hyperion.planning.sql.actions.HspUniqueObjectAction.update(Unknown Source) at com.hyperion.planning.sql.actions.HspMemberAction.update(Unknown Source) at com.hyperion.planning.sql.actions.HspDimensionAction.update(Unknown Source) at com.hyperion.planning.sql.actions.HspAction.update(Unknown Source) at com.hyperion.planning.sql.actions.HspActionSet.doActions(Unknown Source) at com.hyperion.planning.sql.actions.HspActionSet.doActions(Unknown Source) at com.hyperion.planning.db.HspDEDBImpl.saveDimension(Unknown Source) at com.hyperion.planning.HyperionPlanningBean.updateDimension(Unknown Source) at com.hyperion.planning.appdeploy.HspAWBXMLHelper.updateDim(Unknown Source) at com.hyperion.planning.appdeploy.HspAWBXMLHelper.parseNLoadDimensions(Unknown Source) at com.hyperion.planning.appdeploy.HspAppDefinition.deployAppFromXML(Unknown Source) at com.hyperion.planning.appdeploy.HspAppDefinition.access$000(Unknown Source) at com.hyperion.planning.appdeploy.HspAppDefinition$1.run(Unknown Source)
What can is happened?
Thanks
Alessia -
CProject 4.5 : Dashboard : Application view "Projects"
Hi guys,
i write you this message for a question about cProject 4.5.
What projects are being filtered into "Project" application view? I ask you this because instead into "Last used Projects" view i see all the project created. Both views are standard.
Could you help me,please?
Thanks a lot.
Dario.Hi,
Check in http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=129335661 SAP consulting note 1305197.
I hope this can be useful,
Sara -
ASP application has problems working with oracle database 8.1.7
ASP application has problems working with oracle database 8.1.7 through both oracle ODBC driver and Microsoft ODBC driver
We have an ASP application running on Windows 2000 server, and with 8.1.7 Net8Client and MDAC 2.6 SP1.
The application worked fine with an Oracle 8.0.5 database.
After upgrading oracle database to 8.1.7.0.0, our ASP application works fine except when updating the same data record more than once. The application is not saving our updates.
We tested our application using Oracles ODBC driver v8.1.7.5.0
and experienced more problems. We had problems just bring up our data entry pages. In either case, we are returned with some 505 errors in our browser, problems with the ASP pages and IIS, the page is not displaying.
If anyone has some suggestions on how to fix my problem, please advise. Thanks in advance.thanks...i saw one article with this approach..but the document did not present the detailed process...do you have one? i am still searching for a good procedure to follow...since it is an old database and focusing/studying old versions like this is a pain in the a**... :(
-
Error when deploy the Planning SampAp application view
When deploying, the job console shows:
Started Time : 2008年3月4日 13:23:49
Submitted Time : 2008年3月4日 13:23:49
Last Updated Time : 2008年3月4日 13:23:52
User Name : admin
Process Name :
Thread : 0
Server : DimServer
Detail : Initiating Product Action...
Inspecting Deployment History...
Generating Headers and Callback Information...
Generating Application Data...
Preparing Product Request...
Posting Product Request...
Product Response:200...
Waiting For Status Updates...
and it was stocked at 9%. After a while, the job console showed:
Started Time : 2008年3月4日 11:41:34
Submitted Time : 2008年3月4日 11:41:34
Last Updated Time : 2008年3月4日 11:46:45
User Name : admin
Process Name :
Thread : 0
Server : DimServer
Detail : App Creation failed with Exceptioncom.hyperion.planning.HspRuntimeException: Unable to locate dimension information to load. Dimension: Currency at com.hyperion.planning.HspDimensionLoader.parseModelForPlanningDimen(Unknown Source) at com.hyperion.planning.HspDimensionLoader.parseModelForPlanningDimen(Unknown Source) at com.hyperion.planning.HspDimensionLoader.parse(Unknown Source) at com.hyperion.planning.HspDimensionLoader.load(Unknown Source) at com.hyperion.planning.HspDimensionLoader.load(Unknown Source) at com.hyperion.planning.utils.HspApplicationCreator.loadOutline(Unknown Source) at com.hyperion.planning.utils.HspApplicationCreator.load(Unknown Source) at com.hyperion.planning.utils.HspApplicationCreator.createApplication(Unknown Source) at com.hyperion.planning.appdeploy.HspAppDefinition.deployAppFromXML(Unknown Source) at com.hyperion.planning.appdeploy.HspAppDefinition.access$000(Unknown Source) at com.hyperion.planning.appdeploy.HspAppDefinition$1.run(Unknown Source)
I've created a new datasource for this app, but still faced the same problem.
PS: I also found some error when validate the SampAp application view, so I've changed it a little. I don't know if the application view design may cause this problem. Thanks for your reply.Hi,
From another post which I think relates to same sort of issue the solution was :-
On your server > Change your "Standards and formats" into English(United States) in "Regional and Language Options".
This was due to the currency format being in chinese.
Cheers
John -
Application View Deigner GUI and File Adapter
I am currently experiencing a problem with the Application View Designer GUI
tool. When I tried to edit an user-defined application view or the
associated Connection Factory for the File Adapter using the GUI tool, I got
an "Unsupported Adapter Type" error message -Adapter BEA_FS_ADAPTER doe not
support GUI-based configuration - please see attachment "error1.jpg" for the
screen capture. This Event associated with this application view is
currently functioning properly. It just seems that I am no longer able to
make any change to the current configuration (I had successfully made the
similar edits before without any problems).
When the above problem occurred, I then tried to create a new application
view based on the File Adapter, I got and "UnsupportedAdapterException"
error-please see attachement "error2.jpg" for the screen capture.
Has anyone encountered the similar errors before? Insight or thoughts?
Perhaps it was due to corruption of certain files or database? Any
information will be greatly appreciated!
Thanks, Qianqian
[error2.jpg]
[error1.jpg]Hi,
1.Status: TO_BE_DELIVERED
Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.
TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.
Regards
Agasthuri Doss -
Struggling with SMTP and classic ASP application
I have a classic ASP application that I'm moving from 2003 to 2012. On 2003 it used CDONTS to send email, as this is not supported I am converting it to CDOSYS as follows;
Dim ObjSendMail
Dim iConf
Dim Flds
Set ObjSendMail = Server.CreateObject("CDO.Message")
Set iConf = Server.CreateObject("CDO.Configuration")
Set Flds = iConf.Fields
With Flds
.Item(cdoSendUsingMethod) = 2
.Item(cdoSMTPusessl) = 1
.Item(cdoSMTPServer) = "xxxx.xxxx.net"
.Item(cdoSendUserName) = "[email protected]"
.Item(cdoSendPassword) = "xxxxxx"
.Item(cdoSMTPServerPort) = 6000
.Item(cdoSMTPconnectiontimeout) = 30
.Update
End With
Set ObjSendMail.Configuration = iConf
Set ObjSendMail.Configuration = iConf
ObjSendMail.To = request.form("Supplier_Email")
ObjSendMail.Subject = "order from "&buname
ObjSendMail.From = request.form("copy")
' we are sending a text email.. simply switch the comments around to send an html email instead
ObjSendMail.HTMLBody = request.form("email_body")
'ObjSendMail.TextBody = "this is the body"
ObjSendMail.Send
However, it worked fine on 2003 but I get
CDO.Message.1 error '80040213'
The transport failed to connect to the server. on the send.
I think it's a problem with the SMTP configuration, but I don;t know how to check it.
Any ideas?
Regards
PeteHi,
As this thread has been quiet for a while, we will mark it as ‘Answered’ as the information provided should be helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up. You can also choose to unmark
the answer as you wish.
BTW, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks for your understanding and efforts.
Best
regards,
Susie
Maybe you are looking for
-
Unable to Open/Save files PS CS5.1 win xp
I have been running CS5.1 (Photoshop) for some time now and this morning when trying to save a file the program locks up cold, no dialogue box or anything. Just stops cold. Then I decided to try to open an existing file and the same thing happens. He
-
Problems Setting up my wireless network with an Xb...
Hi, I have had some problems setting up my wireless networking. I have everything switched on and am able to go online with the laptop and the Xbox with no problems but when I try to share media with the xbox I have problems. I have opened the ports
-
[Solved]Adding a hard drive problem?!?
OK folks, I feel stupid asking this question but each time I try to add a hard drive to my arch server, I get the following error at boot up any advice: attempting to create root device /dev/sda3 /bin/mknod "/dev/root" b 8 3 /init: 1: cannot open /de
-
Exporting QT Movie from DVDSP?
Hi There. I'm working with subtitles for the first time. FCP seems pretty clunky with subtitles so I was going to use a subtitle list with DVDSP. But in addition to building a DVD, I want to export my movie wiht subtitles as QT to post on the web. Is
-
Deleted emails found when using new search function in 3.0
When I do a "search iPhone" I see a list that contains emails that were deleted, some as old as two months. These found emails do not exist in my Comcast account, and they were deleted from Trash. I thought I was not storing any emails on my iPhone,