500 InternalServerError when calling app with same url than oracle app
Hello
i wonder if some one could help us.
we are running an application on oas developed with forms 10g on a specific IP say
ip 10.10.10:9999 and this application is calling other application (a jsp) on another server
and to call it i use:
Web.show_document (http://10.10.10:9080 ,'_blank');
but that other application is on the same ip than the oracle application
when this hapens the listener try to connect itself 5 time then it just
give the 500 InternalServerError .
any idea why this is happening
i will realy apreciated your help
many thanks in advance
Ana
ps:
i forgot to say that when i use the following command :
webutil_Host.host('cmd /C START iexplore "'||v_url||'"');
it works
i think that is because is a new sesion???
Edited by: ana.gutierrez on 19-feb-2009 4:27
Hola Roberto
many thank for your answer.
the oracle aplication is developed in Forms [32 bits] Versión 10.1.2.3.0 (Producción)
the server is
10g Release 2 (10.1.2) Patch Set 3 (10.1.2.3.0) for Solaris Operating System
the jsp is in a was server it is version 6 the java aplication is developes using jdk 1.4 but is running on a jre 1.6.0_11
bouth applications have the same ip differt ports
when oracle app calls the java app use the
http://999.999.999.9/dir/dir.do?parameters.....
the port is not especified but is different
when the java application calls the oracle aplication the url is something like
http://999.999.999.9:8888/forms/frmservlet?config=oracle_aplication&otherparams=
if the urls are call directily from a browser they work fine.
has it got something to do with the configuration of the single sing on ??
any help or idea will be very apreciated
many many thanks
ANa
Similar Messages
-
How to register the same schema with same URL
I'm getting ORA-31085 error when try to register the same schema with same URl.
My requirement is that I should be able to reregister the same schema with the same URL .
I'm using the following function :
PROCEDURE validateXmlSchema(inp_xmlMsg IN VARCHAR2,
out_isValidDoc IN OUT NUMBER,
inp_xmlSchema IN OUT VARCHAR2,
out_varchar_notused OUT VARCHAR2)IS
xmldoc XMLType;
res number;
BEGIN
xmldoc := XMLtype(inp_xmlMsg);
res := xmldoc.isSchemaValid(inp_xmlSchema);
IF (xmldoc.isSchemaValid = 1) THEN
out_isValidDoc := 1;
ELSE
out_isValidDoc := 0;
END IF;
END validateXmlSchema;
This is used recursively.Until the schema is not validated for a given URL this function should keep on throwing error and once the schema is validated the data should be inserted in the DB.
But its not happening as of now instead the ORA-31085 is thrown second time.
Plz provide pointers to solve the issue."mjs" <[email protected]> wrote in message
news:g7kjk5$o6$[email protected]..
> "mjs" <[email protected]> wrote in message
> news:g7gl2g$i3d$[email protected]..
>> "Zorrrro" <[email protected]> wrote
in message
>> news:g7gcjv$a6n$[email protected]..
>>> I'm completely nuckered trying to find an answer
for this...
>>>
>>> Does anyone know how to keep the same width an
position of the submenus
>>> of a
>>> horizontal dropdown menu?
>>> Thank you in advance.
>>>
>>> Cheers.
>>
>> Doesn't a simple style="width:200px" in the input
tag work?
>
> I'll asume the answer is "yes", then. ;) You're welcome.
I believe the OP is talking about a dropdown menu like this
one
http://www.tjkdesign.com/articles/keyboard_friendly_dropdown_menu/default.asp
not about a "select menu".
I could be wrong though...
Thierry
Articles and Tutorials:
http://www.TJKDesign.com/go/?0
http://developer.yahoo.com/
helps you build applications and mashups -
How to run two files with same url- urgent
hi,
i created two servlet page and both are working very fine.but at same time i only able to run one file with same url. Is possible to run two or more file at same time with same url name..
if you r not understanding what i want to ask then, i have two file names under helloWeb directory
1) helloWorld.java(servletname s1, url /man)
2) helloWeb.java (servletname s2,url /man)
to run - http://localhost:7001/helloWeb/man - it runs very first file which is added to deployment module.
so i want to know how i can run both file with same url, for this what i have to pass on my address bar.
plz help me i m wating
<b></b>Hi,
We can give same url mapping to both Servlets but we can access the servlet which is entered first in web.xml because whenever we send a request to the webserver then webserver look at the elements in web.xml file one by one.
When it finds the corresponding url mapping then immediately sends the response to the client.The same url mapping for the next element will be ignored.
I think there is no possibility to access both servlets with same url.
Regards
Anilkumar kari -
Getting 500 Error when calling XI from Siebel
Hi,
We have generated a WSDL file from XI and gave it to Siebel team. They are getting a 500 Error when they try to call us using that WSDL file. Below is the error message they are getting.
"[1] Error Invoking service 'MI_SIEBEL_WS_ORDER_TOXI_OUT', method 'MI_SIEBEL_WS_ORDER_TOXI_OUT' at step 'Call Web Service'. (SBL-BPR-00162).
[2] HTTP Request error during 'Submitting Data Send HTTP request': 'Status code -500'(SBL-EAI-04117)"
Thanks in advance for the help.
Thanks
KumarHi,
Are you sure your Sender SOAP adapter is configured properly. Also ensure that the SIEBEL team is using the right URL to communicate to the SOAP adapter.
First try using SOAP Client and see if the scenario is working fine. If so then the problem lies in SIEBEL.
Check this link for confiuring SOAP sender
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
Thanks,
Pakash -
Diferent application with same URL.
Hi
I have two applications with following URL :
http://hostname/a/b/c/initial
Application First has a/b as context root
Application second has a/b/c as context root
Now, if I access above URL which application will be accessed.
ThanksHi
I have a URL
http://hostname/a/b/initial
where initial is servlet name
Now, what i know are the following ways to define context root along with servlet mapping in web.xml are :
Application.xml (context root): a
Web.xml (URL mapping) : /b/initial
Application.xml (context root): a/b
Web.xml (URL mapping) : /initial
Application.xml (context root): a/b/initial
Web.xml (URL mapping) : /*
Are there any other ways to do this.
We need to have same URL.
Cannot change that.
Edited by: money321 on Apr 17, 2009 9:06 AM -
Multiple Portals with same url..
hi,
how can i have multiple portals having same url ? i will have a request
parameter Portal name ,using this parameter i want direct it to the corr
portal.
Thanks
vedantYes, you can do that. You basically need to setup mod_osso agent in OAM.
Oracle Portal behaves exact in the same way as any mod_osso protected application. If you are able to protect a standard HTML file on the webserver's operating system, you will be able to protect your Portal as well.
Setup is not documented (yet).
Thanks,
EJ -
WebDynpro ABAP : Error when calling ME23N with URL
Hi all,
I have some problem with my WDA. I have an ALV in web dynpro and it displays Document number for Purchase Order.
When a user clicks on it, we call SAP WEBGUI using ITS and I create dynamically URL to display the document.
But I can't set the PO number when I call the ME23N while i passed the PO number in parameter of my URL.
My URL has this content : http://xxxxxxx/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=ME23N&MEPO_TOPLINE-EBELN=xxxxx
But the Po display isn't the same. I don't found any solutions for this problem
Anybody has an idea ?
Thanks in advance for your feedback.
Regards
Ludovic BentoHello,
I found the correct way to open ME23N in WebDynpro:
*Create URL
CONCATENATE 'http://' host ':' port
'/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction='
'ME23N' '&~OKCODE=MECHOB&%20MEPO_SELECT-EBELN=' lv_ebeln
'&%20MEPO_SELECT-BSTYP_F=X&%20~OKCODE=MEOK'
INTO url. -
I hit the replace when publishing the new iweb site (so we could have control over changes - last one was not an apple based site) but new site name is attached to old via a forward slash and underscore after our www address. Makes it very messy with a very long web address. Original address now followed by iweb site name followed by name of first page? Went for iweb as not that computer literate - all going so well?! Cheers for help in anticipation. Have to get off to work now but be great end to week if we could be sorted tonight. Rupes
Well yes of course, if you try and publish through iWeb there won't be an option to publish without your site folder which is exactly why I told you to download Cyberduck and use Cyberduck to upload your site to your server having published your site from iWeb to a local folder. That is what you need to do if you don't want your site name to be included in yoru url.
It would have been easier also if you had used Cyberduck initially to connect to your server and delete your old site yourself - at least that way you would have deleted the correct files rather than relying on your hosting service to do it and doing it incorrectly.
Download Cyberduck and then select the publish to a local folder option from iWeb and then use Cyberduck to upload your site to your server, but rather than uploading the whole site folder and separate index file, upload ONLY the contents of your site folder and then your url will be http://www.domain.com/page_name.html.
It really isn't rocket science! -
NPE when calling getConnection() with JBoss 3.0.0RC1
I'm getting the following exception only when I'm using JBoss 3.0.0RC1.
No problem with earlier version of JBoss 3.0, so this maybe a JBoss
issue.
However, I can't debug this without knowing what URL Kodo is trying
to look up. My guess is getTransaction() is trying to look up the
transaction
manager and is passing a null URL string.
20:19:54,715 ERROR [STDERR] java.lang.NullPointerException
20:19:54,725 ERROR [STDERR] at
javax.naming.InitialContext.getURLScheme(Init
ialContext.java:227)
20:19:54,725 ERROR [STDERR] at
javax.naming.InitialContext.getURLOrDefaultIn
itCtx(InitialContext.java:276)
20:19:54,735 ERROR [STDERR] at
javax.naming.InitialContext.lookup(InitialCon
text.java:350)
20:19:54,745 ERROR [STDERR] at
com.solarmetric.kodo.ee.JNDIManagedRuntime.ge
tTransaction(JNDIManagedRuntime.java:36)
20:19:54,755 ERROR [STDERR] at
com.solarmetric.kodo.ee.EEFactoryHelper.getPe
rsistenceManager(EEFactoryHelper.java:102)
20:19:54,755 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.EEPersisten
ceManagerFactory.newPersistenceManager(EEPersistenceManagerFactory.java:148)
20:19:54,765 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
onFactory.getConnection(JDOConnectionFactory.java:89)
20:19:54,775 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
onFactory.getConnection(JDOConnectionFactory.java:70)Yan-
The JBoss people have seen it fit to change the mechanism for
configuring Resource Managers between 3.0.0 beta and 3.0.0 RC1, as per
http://www.jboss.org/online-manual/HTML/ch03.html:
Access to Resource Managers
THIS CHAPTER IS PRIMARILY RELEVANT TO JBOSS 3 (RABBITHOLE) VERSIONS
BEFORE RC1
THE MBEANS FOR CONFIGURING DATASOURCES/ADAPTERS IN RC1 ARE COMPLETELY
DIFFERENT FROM THOSE DESCRIBED HERE. FOR DESCRIPTIONS OF EACH ATTRIBUTE,
CONSULT THE GENERATED JMX-API DOCUMENTATION.
I am going to work on putting together an example working configuration,
but it is difficult without any documentation or useful examples. In the
meantime, you may want to manually bind a PersistenceManagerFactory into
JNDI and just use that.
Yan Or <[email protected]> wrote:
JCA. See my other postings "kodo.jar and systems.pref".
Interestingly, with the earlier version of JBoss 3.0.0, it works
even though I didn't package system.prefs with the .rar file, so
I'm guessing it uses a default value?
I also tried looking up "java:/TransactionManager" in the same
method where getConnection() was called and I was able to
find the object.
Patrick Linskey wrote:
Yan,
It's looking up the pref called 'tm-location' (which we set to
'java:/TransactionManager' in our default system.prefs).
Are you deploying via JCA or JNDI?
-Patrick
Yan Or <[email protected]> writes:
I'm getting the following exception only when I'm using JBoss 3.0.0RC1.
No problem with earlier version of JBoss 3.0, so this maybe a JBoss
issue.
However, I can't debug this without knowing what URL Kodo is trying
to look up. My guess is getTransaction() is trying to look up the
transaction
manager and is passing a null URL string.
20:19:54,715 ERROR [STDERR] java.lang.NullPointerException
20:19:54,725 ERROR [STDERR] at
javax.naming.InitialContext.getURLScheme(Init
ialContext.java:227)
20:19:54,725 ERROR [STDERR] at
javax.naming.InitialContext.getURLOrDefaultIn
itCtx(InitialContext.java:276)
20:19:54,735 ERROR [STDERR] at
javax.naming.InitialContext.lookup(InitialCon
text.java:350)
20:19:54,745 ERROR [STDERR] at
com.solarmetric.kodo.ee.JNDIManagedRuntime.ge
tTransaction(JNDIManagedRuntime.java:36)
20:19:54,755 ERROR [STDERR] at
com.solarmetric.kodo.ee.EEFactoryHelper.getPe
rsistenceManager(EEFactoryHelper.java:102)
20:19:54,755 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.EEPersisten
ceManagerFactory.newPersistenceManager(EEPersistenceManagerFactory.java:148)
20:19:54,765 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
onFactory.getConnection(JDOConnectionFactory.java:89)
20:19:54,775 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
onFactory.getConnection(JDOConnectionFactory.java:70)
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com
Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code -
JSF navigation rules sent me to different page, with same URL
Hello everybody,
Have a newbie question on JSF, if anyone can help me. I am using JSF for a web application, and i have a small problem.
If i define a navigation rule, from one page to another, and i am having a button that should send me to another page,
the browser URL remains the same, although the page content IS correctly changed.
Thanks,
AndreiYou're welcome.
Though I should have added that the advantage of the redirect after a POST request is that refreshing the request or navigating back and forward by browser history doesn't cause a re-submit of the POST request anymore. This way you avoid duplication of submitted data. This is called POST-redirect-GET pattern. Refreshing the request after a redirect (which is always a GET request) would only cause the redirect being refreshed, not the initiating POST request.
The disadvantage of a forward is less or more obvious: the URL remains the same and it is not really good for the user experience. If one copypasted the URL in a new window (a new GET request), one wouldn't see the forwarded page, but the originating page. That's why I would recommend to avoid navigation cases and just use the same page to postback the POST request to. For normal page-to-page navigation within a website, I would recommend just using outputlinks and not commandlinks with navigation cases. It's all better for the user experience. -
Hello Guru,
I am trying to call a supplier service from SOA/OSB.
But while calling the service it is failing with the below error message
access denied (oracle.wsm.security.WSFunctionPermission http://xmlns.oracle.com/apps/prc/poz/suppliers/supplierService/SupplierService#getSupplierVO invoke)
As per OER cookbook i have attached the "oracle/wss_username_token_client_policy" to the Fusion apps web service.
I am trying to pass security credentials to the service by using all the methods... through composite ..through bpel through wsse header but in all cases i am getting similar error.
Please let me know if some one has called the fusion apps web service to create a supplier of solution to my problem as mentioned above.Hi Sai,
Thanks for the quick and correct response. Yes, after doing the research, I'm also came to same conclusion. But what stops me here is that where exactly I need to check for this permission.
I mean the theory what I built on this Authorization/Permission is that:
For the resource - WebService (SupplierService), there is an assigned application role for which the Entitlement/Permission is provided.
Pls. help me in the below items:
a. What is the application role(in role hierarchy) assigned to this resource(Webservice). Which page I need to check(navigation) this and the required credentials..
b. What is the Entitlement provided for this application role for this operation (getSupplierVO) invoke.. Which page I need to check(navigation) this and the required credentials..
Thanks in Advance.
Thanks & Regards
Madhu -
MEM_BAD_POINTER when calling VI with LVRT adapter
Hi,
I'm using TestStand 2010 and LabVIEW 2010.
One test (sequence) calls VIs that control Agilent 16900A logic analyzer: run and stop (Stop VI is attached for example).
These VIs use ActiveX - LA COM Automation client software.
Everything worked properly, until I switched the LabVIEW adapter from "Development System" to "LabVIEW Run-Time Engine" (in order to make deployment).
When a step that call the logic control VI is executed, I have got the error ”SmartHeap Library - MEM_BAD_POINTER", then "SmartHeap Library - SmartHeap error handler recursively re-entered"- and TestStand is crushed.
Never saw the such problem before.
Any help is appreciated!
Attachments:
Agilent16900A_LogicStop.vi 11 KBHi Courtney,
This VI works fine in LabVIEW, I even built EXE based on this VI - it works too.
In the meantime I tried to connect with the logic via Visual C++ using the same LA COM Automation client software.
Wrote DLL with functions Run and Stop, created 2 steps in the TS sequence - the both call the DLL Stop function, loaded dynamically and unloaded when step is finished.
The first call is performed, the second call causes the "MEM_BAD_POINTER" error etc.
If the sequence has only one call to the DLL function (e.g. Stop) - I may run it several times successfully. -
Hi,
I have some (but not much) experience with OAS and am currently stuck. So hope to find someone who can help me further here.
When i open Oracle Application Server Control from the SOA Suite 10.1.3.5.0 home page i get most of the times an HTTP 500 error.
Initially i got this even when i opened the login page (/em) but worked around this by increasing the ThreadsPerChild from 100 > 250 in the httpd.conf and replacing the loopback adres 127.0.0.1 in the dms.conf for the virtual host configuration to the actual (fixed) ip-address.
The current situation is that when i restart the environment (opmn stopall & opmn startall) i can open the the EM login page.
After logging in om the Enterprise Manager, the page is partly loaded and a HTTP 500 error is shown when i refresh the page.
The apache log files now still shows the following errors;
[Tue Sep 07 15:46:19 2010] [error] [client 10.157.1.68] [ecid: 1283867060:10.150.50.110:10312:9568:5,0] mod_oc4j: Failed to find a failover oc4j process for session request for destination: application://ascontrol (no island or jgroup).
[Tue Sep 07 15:51:20 2010] [error] [client 10.157.1.68] [ecid: 1283867060:10.150.50.110:10312:9568:5,0] mod_oc4j: request to OC4J SOA-WTST:12501 failed: Connect failed
Any hints ?
Kind regards,
PeterIf finally found the cause of the problem, lack of PermGen space for the home instance;
When opening the EM Console most of the times i was able to open the login page, under stress opening this page failed most of the times.
The ascontrol-application.log pointed me in the right direction;
10/09/07 15:26:59.111 ascontrol: Servlet error
java.lang.OutOfMemoryError: PermGen space
When monitoring the PermGen of the home instance, is showed that the system was running out of PermGen space.
Increasing the PermGen size for the home instance in opmn.xml did the trick
<data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M......" -
JSP protected pages are "forbidden" when request passed with access URL
Dear All,
I am encountering a very strange problem. Let me know if you have any solution for this issue:
Setup:
1. Dedicated OpenSSO idp (different domain)
2. Service Provider - contains a portal which in turn uses a webservice.
Both the portal and web services are installed on the Tomcat server.
3. OpenSSO agent for Tomcat is also installed on the SP machine.
Now, when I deploy my client portal and the web service, I am not able to access:
1. wsdl (like, http://localhost:8080/Service?wsdl)
2. Any jsp page to which I pass request parameters through URL. (like, http://localhost:8080/test.jsp?test=1
I get a message indication - resource is forbidden. (Note, I have already done a OpenSSO login prior to this. Also access is granted to the above mentioned URLs for the logged in user).
Let me know if I am missing out something.
Thanks,
tarakHi All,
I got a solution to this problem.
Refer: http://blogs.sun.com/JohnD/entry/opensso_wildcards_and_handling_resources
Extract:
Handling Resources That Contain Query Strings:
Some resources use a query string, which is the part of a URL that contains data to be passed to web applications. The following is a feasible example of a URL that contains a query string: http://AgentHost/path/app?query-string. The question mark (?) is the separator. It is not part of the query string. Many scenarios exist in which query strings might be used. They can be used for personalization of the user's session. Sometimes an application might add some locale information for a page request. The following example demonstrates the use of such locale information:
http://AgentHost.com:8080/sampleapp/main.jsp?language=en&country=US.
Neither the multi-level wildcard (*) nor the one-level wildcard (--) match the question mark. Therefore, to define a policy resource that can handle the question mark, use the multi-level wildcard on both sides of a question mark, as follows: ?* (asterisk-question mark-asterisk). -
Different portal logon pages with same url.
Hi all,
Im doing portal logon page customization . My requirement is when a user give the portal link in his browser he should get the portal logon page according to the country language..for example if he opens the portal from india he should get English text and if he opens the portal from japan he should get the japanese text in the portal logon page.
thanks
Rajeev BRajeev,
Its possible to have the different logon pages for the same portal.
Its also possible for the same ulr but different parameters.
You can do customization on portal logon page.
For example:
Consider that the url http://myep:50000/irj/portal is currently using to access the portal.
You can pass addintional parameter on this url and fetch them into logon page, display the pages based on the values that you have fetched.
for example http://myep:50000/irj/portal/myparam
Have a lot at this link,
Displaying Different Login Pages Based On The Sales Organization
Ram
Maybe you are looking for
-
DBCP Connections not recycling or closing.
I have implement DBCP using Jakarta-Commons. My connection resource seems to work fine and I am explicitly closing all connections I create. JSTL SQL tags are also using the JNDI resource. However my connection are not being closed or reused. When I
-
Kernel panic (solved) -- VIA chip M/Board
I am using a custom kernel but once in awhile I tried getting the official kernel (2.6.18.x) to work with mkinitcpio but no success. I tried all hints posted in forum related to "kernel panic". The error was always same: EIP:[<c024b42d>] acpi_hw_leve
-
What is no masking for supplier bank account
Hi, what is no masking for supplier bank account? Can someone explain or provide a link please? Regards 846691
-
Hi All Has one configured some automated service to ftp/ scp archive files out of ASM? I know there is XDB ftp process which we can use but the question is if scp (secure copy) works as well. My envoironment is on Linux , ssh configured so I dont nee
-
A question about firing event, please help
I would like to know how to fire an event in the following situation: public class FireAnEvent public static void main() char c=(char)System.in.read())s; String source="I'm the source"; if(c!="a")