My PortalStudio - Provider URL is invalid
Hello,
I'm trying to register a provider in My PortalStudio, but I got:
The Web Provider URL you have entered is invalid. The URL must point to a provider that follows the JPDK specs.
Any feedback/clue would be appreciated.
Thanks
ps. eg. URL:http://123.456.7.8:8888/myPortletDeploy/providers
and have successfully reached Providers's test page
You are trying to register a provider that has a default service id, I tried this it dis not work for me. However the test page has no issue. So, if you give a proper name to the deployment properties file, it will go through. I had (previoulsy) checked that PDK looks for a service name after the app/providers/<serviceId> to register successfully ?
If you have a deployment properties (_default.properties) rename it or copy and paste the content into a new file (sample.properties) and then test the registeration with the followig URL
http://123.456.7.8:8888/myPortletDeploy/providers/sample
Hope that will work.
Baig
Similar Messages
-
Invalid Provider URL deploying axis webservice application on OC4J 10.1.3
Hi,
I have an enterprise webservice application using axis running fine with OC4J 9.0.4. I tried to deploy it in OC4J 10.1.3 and it gives ConfigurationException inside axis. I tried both axis 1.3 and 1.4 and still has the same issue. Axis is catching the exception and throwing it out as a runtime exception: Invalid Provider URL. I tried to google it, but didn't found much help. Did anyone had similar problem like this.
Thanks in Advance,
ChanduChandu,
Perhaps you could post the entire error message and stack trace you are getting, as well as the part of your code that is causing the error? Are you using JDK 1.4 or JDK 1.5?
Good Luck,
Avi. -
WSDL URL is invalid or the WSDL file is not valid or incorrect
Hi All,
I am using Oracle Soa Suite 11g. I have got Oracle database, Oracle weblogic admin server, Oracle SOA server all installed on my laptop.
I have deployed a sample BPEL process. When I am trying to test the process it is giving an error
"Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://KSNPavan-PC:8001/soa-infra/services/default/MyHumanWorkFlowSample1Project/vacationrequestprocess_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused: connect "
Now, when I change the url address to
"http://localhost:8001/soa-infra/services/default/MyHumanWorkFlowSample1Project/vacationrequestprocess_client_ep?WSDL"
(Please note the difference in host name from KSNPavan-PC to localhost.)
and click parse wsdl it is working well. I mean the test page is opening successfully and I am able to test the service.
Testing the service from admin console is fine. Now I want to use this BPEL process service in another BPEL process. So, when I am piciking this service wsdl in JDeveloper it is throwing me the same error and I am unable to go ahead.
Can anyone please tell me whetherI have to set property in the admin server console so that it always take local host in all the wsdl urls and solve my problem.
Thank you,
KSN Pavan.Hi All,
My problem has got solved with the help of my colleagues. Actually the problem was that the host name KSNPavan-PC is not there in the C:\Windows\System32\Drivers\etc\hosts file. I Added the host name in the file with the IP same as that of local host and everything isworking well now.
Thank you,
KSN Pavan -
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect.
Hi ,
i deployed one bpel process in weblogic.
when i am click on test below is error is coming. ( its on oracle soa 11)
below is coming for all the process. previously it is working fine.
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://xxxx:8001/soa-infra/services/default/ReadJMS/readtraxjms_client_ep?WSDL: HTTP connection error code is 503
Please help me how it is resolved.
Regards
janHi Jan,
We had the same issue in 11.1.1.3 and we used to restart the server to fix it. Hopefully before going to PROD we upgraded to 11.1.1.5 and next time we saw this issue was only when there was some problem with the OHS (it was down etc.).
Which version you're on?
Regards,
Neeraj Sehgal -
Hi,
while consuming the WCF service POST method Jquery, getting error in Chrome and firefox, in IE Its working fine.
ERROR:Failed to load resource: the server responded with a status of 405 (Method Not Allowed) XMLHttpRequest cannot load (WCF service URL). Invalid HTTP status code 405.
Jquery used to call:
$.support.cors = true
$.ajax({
type: "POST",
url: serviceURL,
data: JSON.stringify(managedProps),
useDefaultXhrHeader:false,
contentType: "application/json; charset=utf-8",
dataType: "json",
//processData: true,
crossDomain: true,
success: function (data, status, jqXHR) {
alert("sucess");
error: function (xhr) {
alert("error");
WCF sevice Web.config
<webHttpBinding>
<!--<binding name="webHttpBindingWithJsonP" transferMode="StreamedRequest" />-->
<binding name="crossDomain" crossDomainScriptAccessEnabled="true" transferMode="StreamedResponse" />
</webHttpBinding>
</bindings>
<services>
<service name="DynamicRefinerWCF.DynamicRefiner">
<endpoint address="" behaviorConfiguration="REST" bindingConfiguration="crossDomain" binding="webHttpBinding" contract="DynamicRefinerWCF.IDynamicRefiner" />
<endpoint address="mex" binding="mexHttpBinding" contract="DynamicRefinerWCF.IDynamicRefiner" />
<host>
<baseAddresses>
<add baseAddress="http://localhost/example.svc" />
</baseAddresses>
</host>
</service>
</services>
<!--<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>-->
<!--<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />-->
</system.serviceModel>
<system.webServer>
<!--<modules runAllManagedModulesForAllRequests="true"/>-->
<modules>
<remove name="WebDAVModule" />
</modules>
<handlers>
<remove name="WebDAV" />
</handlers>
<directoryBrowse enabled="true" />
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*"/>
<add name="Access-Control-Allow-Headers" value="Content-Type"/>
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS"/>
<add name="Access-Control-Request-Headers:" value="*" />
<add name="Access-Control-Request-Method:" value="*" />
</customHeaders>
</httpProtocol>
<!--
To browse web app root directory during debugging, set the value below to true.
Set to false before deployment to avoid disclosing web app folder information.
-->
<!--<directoryBrowse enabled="true"/>-->
</system.webServer>
</configuration>
Thanks,
SwathiRight on - I have done that a number of times.
-
How to make dynamic provider-url for MDB.
Hi,
My application has an MDB that need to bind to a remote queue. The .bindigs file is created and put in a specified location. Is there any way I can specify a dynamic value for this location in the <provider-url> tag in my weblogic-ejb.xml file. This is because, in our UNIX test and prod servers, the location of the .bindings file different from what I have on my local box. I have tried like this, but it did not work.
<provider-url>file:/%DOMAIN_DIR%/config/<provider-url>
We always have a 'config' directory under the domain and if the domain name changes in different environments, i don't have to make any changes to my descriptor file.
Thanks,
RajeevI met a similar problem when I used the foreign JMS server. I configured the foreign server via console. I tried to subscribe a remote topic which was maintained by another WebLogic JMS server. When I built my MDB, I got the following exception. The remote JMS server name could not be resolved. Any suggection is appreciated.
<Sep 19, 2005 6:11:56 PM EDT> <Warning> <EJB> <BEA-010061> <The Message-Driven E
JB: SIGNIT is unable to connect to the JMS destination: jms/DCGSCatalogTopic. Th
e Error was:
[EJB:010196]'weblogic.jms.common.JMSException: Error creating session' Linked ex
ception = 'weblogic.jms.dispatcher.DispatcherException: could not find JMS Serve
r riicServer'
weblogic.jms.common.JMSException: Error creating session
at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:79
8)
at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:1038)
at weblogic.jms.frontend.FESession.invoke(FESession.java:2552)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.jav
a:643)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.ja
va:179)
at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:1860)
at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1691)
at weblogic.jms.client.JMSSession.createSubscriber(JMSSession.java:1422)
at weblogic.ejb20.internal.JMSConnectionPoller.setUpTopicSessions(JMSCon
nectionPoller.java:1582)
at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSCo
nnectionPoller.java:2009)
at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectio
nPoller.java:1180)
at weblogic.ejb20.internal.JMSConnectionPoller.startJMSConnectionPolling
(JMSConnectionPoller.java:846)
at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDr
ivenBeanPoolInfoImpl.java:234)
at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeplo
yer.java:1660)
at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1488)
at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:689)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer
.java:2127)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:2168)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
activateContainer(SlaveDeployer.java:2503)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(
SlaveDeployer.java:2421)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeplo
yer.java:2138)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(S
laveDeployer.java:2237)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDepl
oyer.java:2132)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2384)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: weblogic.jms.dispatcher.DispatcherException: could not find JMS Serve
r riicServer
at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(Dispatcher
Manager.java:330)
at weblogic.jms.dispatcher.DispatcherManager.dispatcherFindOrCreate(Disp
atcherManager.java:380)
at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:79
6)
... 29 more
Caused by: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.jms.S
:riicServer' Resolved weblogic.jms; remaining name 'S:riicServer'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
NamingNode.java:897)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
a:230)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
ava:154)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:18
8)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
6)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
6)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j
ava:256)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:359)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(Dispatcher
Manager.java:314)
... 31 more
>
<Sep 19, 2005 6:12:06 PM EDT> <Warning> <EJB> <BEA-010096> <The Message-Driven E
JB: SIGNIT is unable to connect to the JMS destination: jms/DCGSCatalogTopic. Co
nnection failed after 2 attempts. The MDB will attempt to reconnect every 10 sec
onds. This log message will repeat every 600 seconds until the condition clears.
>
<Sep 19, 2005 6:12:06 PM EDT> <Warning> <EJB> <BEA-010061> <The Message-Driven E
JB: SIGNIT is unable to connect to the JMS destination: jms/DCGSCatalogTopic. Th
e Error was:
[EJB:010196]'weblogic.jms.common.JMSException: Error creating session' Linked ex
ception = 'weblogic.jms.dispatcher.DispatcherException: could not find JMS Serve
r riicServer'
weblogic.jms.common.JMSException: Error creating session
at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:79
8)
at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:1038)
at weblogic.jms.frontend.FESession.invoke(FESession.java:2552)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.jav
a:643)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.ja
va:179)
at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:1860)
at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1691)
at weblogic.jms.client.JMSSession.createSubscriber(JMSSession.java:1422)
at weblogic.ejb20.internal.JMSConnectionPoller.setUpTopicSessions(JMSCon
nectionPoller.java:1582)
at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSCo
nnectionPoller.java:2009)
at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectio
nPoller.java:1180)
at weblogic.ejb20.internal.JMSConnectionPoller.trigger(JMSConnectionPoll
er.java:978)
at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.j
ava:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(Schedul
edTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigg
er.java:223)
at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:5
0)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: weblogic.jms.dispatcher.DispatcherException: could not find JMS Serve
r riicServer
at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(Dispatcher
Manager.java:330)
at weblogic.jms.dispatcher.DispatcherManager.dispatcherFindOrCreate(Disp
atcherManager.java:380)
at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:79
6)
... 19 more
Caused by: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.jms.S
:riicServer' Resolved weblogic.jms; remaining name 'S:riicServer'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
NamingNode.java:897)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
a:230)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
ava:154)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:18
8)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
6)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:19
6)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j
ava:256)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:359)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(Dispatcher
Manager.java:314)
... 21 more
> -
Do I have to use opmn:ormi in the JNDI Service Provider URL?
Trying to create a new Enterprise Message Source (JMS) and it's not updating the Data Object. Tested the OC4J queue using a Java POJO listener ... sending and receiving text message seems okay. I created a basic Plan (there's only one data element for now) and it is running.
Any suggestions would be appreciated!Here is a document from Ranga on how to connect BAM to OJMS (hope it helps):
Database Trigger - OJMS - BAM Integration Sample
Last updated 07/27/05 Ranga
OJMS setup
Step 1 - Oc4j setup
Install Standalone/Developer 10g OC4J or production version Application server.
Developer version download -http://www.oracle.com/technology/software/htdocs/devlic.html?/technology/software/products/ias/htdocs/utilsoft.html#1012 or from http://bamqa.us.oracle.com/bamqaWiki/attach?page=Downloads%2Foc4j1012_extended.zip
Modify following configuration files
o Add entry in <OC4J_Install_location>\j2ee\home\config\data-sources.xml for your database, use below sample replacing HOST, PORT and SERVICE_NAME in url tag
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="TTTDS"
location="jdbc/OracleTTTDS"
xa-location="jdbc/xa/OracleXaBamDS"
ejb-location="jdbc/OracleEjbBamDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="scott"
password="tiger"
url="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=stank04)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=db10g)))"
inactivity-timeout="30"
/>
o Add a resource provider entry in <OC4J_Install_location>\j2ee\home\config\application.xml
<resource-provider name="BAMTTT" class="oracle.jms.OjmsContext">
<description>BAM for Generic</description>
<property name="datasource" value="jdbc/OracleTTTDS"/>
</resource-provider>
Step 2 - Database setup
Install 10g or 9i database, below steps will setup AQ in sample schema scott.
Connect to database as sys and grant AQ permissions to scott user
connect sys/welcome1@db10g as sysdba
grant SELECT_CATALOG_ROLE to scott;
GRANT EXECUTE ON DBMS_APPLY_ADM TO scott;
GRANT EXECUTE ON DBMS_AQ TO scott;
GRANT EXECUTE ON DBMS_AQADM TO scott;
GRANT EXECUTE ON DBMS_CAPTURE_ADM TO scott;
GRANT EXECUTE ON DBMS_FLASHBACK TO scott;
GRANT EXECUTE ON DBMS_STREAMS_ADM TO scott;
execute dbms_aqadm.grant_system_privilege('ENQUEUE_ANY', 'scott', TRUE);
grant aq_administrator_role to scott;
grant execute on dbms_lock to scott;
grant execute on sys.dbms_aqin to scott;
grant execute on sys.dbms_aqjms to scott;
Connect to database as scott user and create AQ
connect scott/tiger@db10g
execute dbms_aqadm.stop_queue( queue_name => 'bam_ttq' );
execute dbms_aqadm.drop_queue( queue_name => 'bam_ttq');
execute DBMS_AQADM.DROP_QUEUE_TABLE (queue_table => 'bam_ttq_tab');
execute dbms_aqadm.create_queue_table( queue_table => 'bam_ttq_tab', queue_payload_type => 'sys.aq$_jms_text_message', multiple_consumers => true );
execute dbms_aqadm.create_queue( queue_name => 'bam_ttq', queue_table => 'bam_ttq_tab' );
execute dbms_aqadm.start_queue( queue_name => 'bam_ttq' );
Database Trigger setup
Run the following sql connected to database as scott user, it creates a trigger on EMP table.
create or replace trigger send_recs_Employee AFTER INSERT OR Update ON EMP
FOR each row
declare
xml_complete varchar2(8000);
v_enqueue_options dbms_aq.enqueue_options_t;
v_message_properties dbms_aq.message_properties_t;
v_msgid raw(16);
temp sys.aq$_jms_text_message;
v_recipients dbms_aq.aq$_recipient_list_t;
Begin
temp:=sys.aq$_jms_text_message.construct;
v_recipients(1) := sys.aq$_agent('istante',null,0);
v_recipients(2) := sys.aq$_agent('test',null,0);
v_message_properties.recipient_list := v_recipients;
xml_complete :=
'<?xml version="1.0"?><row>' ||
'<EMPNO>' || :new.EMPNO || '</EMPNO>' ||
'<ENAME>' || :new.ENAME || '</ENAME>' ||
'<JOB>' || :new.JOB || '</JOB>' ||
'<MGR>' || :new.MGR || '</MGR>' ||
'<HIREDATE>' || :new.HIREDATE || '</HIREDATE>' ||
'<SAL>' || :new.SAL || '</SAL>' ||
'<COMM>' || :new.COMM || '</COMM>' ||
'<DEPTNO>' || :new.DEPTNO || '</DEPTNO>' ||
'</row>' ;
temp.set_text(xml_complete);
dbms_aq.enqueue(queue_name => 'bam_ttq',
enqueue_options => v_enqueue_options,
message_properties => v_message_properties,
payload => temp,
msgid => v_msgid );
End ;
BAM Setup
Administrator - Fix the classpaths for oc4j jar files for Oracle (AS JMS and OJMS) Message source type using the OC4J_Install_location. If you are using production App Server you need to add extra classpath entry <App Server Location>\opmn\lib\optic.jar
Architect - Create a new Enterprise message source of type Oracle (AS JMS and OJMS)
Initial Context Factory: com.evermind.server.rmi.RMIInitialContextFactory
JNDI Service Provider URL: o For Standalone oc4j: ormi://machine name/
Where machine name is OC4J installed host
o For Production App Server: opmn:ormi://<machine name>:<opmn request port>:home
Where machine name is App server installed host, opmn request port could be found from looking at opmn.xml in <App server install location>/opmn/conf
TopicConnectionFactory Name: java:comp/resource/BAMTTT/TopicConnectionFactories/bam_ttq_tab
Topic Name: java:comp/resource/BAMTTT/Topics/bam_ttq
JMS Message Type: TextMessage
Durable Subscriber Name (Optional): Istante
Message Selector (Optional):
Client ID (Optional): ClientID
Name Flow name Type Max size Formatting
row. row. String 4000 (none).
Enterprise Link Design Studio create a basic plan with
o Oracle BAM Enterprise Message Receiver, selecting the message source you created in above step.
o Display sink Grid
Create file jndi.properties in C:\Program Files\Oracle BAM\j2re1.4.1_01\lib with entries
java.naming.security.principal=admin
java.naming.security.credentials=welcome1 (App server/Oc4j password)
Running
Start OC4J
To enqueue messages update or insert records in EMP table connected to database as scott user
Insert into emp values (&empno,'FORD','ANALYST',7566,sysdate,60000,3000,20);
Run update on the enterprise plan
In above sample no parsing of the data is done, its got as one single string.
OJMS setup
Configuring JMS
http://www.oracle.com/technology/books/pdfs/2352_Ch06_FINAL.pdf
Oracle® Application Server Containers for J2EE Services Guide 10g Release 2 (10.1.2) for Windows or UNIX
http://iasdocs/iasdl/101200doc/web.1012/b14012/toc.htm -
Reg. Provider Url set in weblogic-ejb-jar.xml
have created an MDB which listens to an IBM MQ. I currently
specify the path of the binding file by setting the provider_url in the weblogic-ejb-jar.xml
An example is as follows::
<destination-jndi-name>Sample.Q</destination-jndi-name>
<initial-context-factory>com.sun.jndi.fscontext.RefFSContextFactory</initial-context-factory>
<provider-url>file:/apps/test/</provider-url>
<connection-factory-jndi-name>Sample.QCF</connection-factory-jndi-name>
is there any way to set this parameter dynamically from MDB itselfAFAIK you can't dynamically reconfigure MDBs; whats in the XML is what you get.
One alternative is to use Spring and Message Driven POJOs which allows you to use Spring to configure the provider & activation spec, which allows you to dynamically at runtime configure properties however you wish or even hot deploy MDPs within a running application.
http://jencks.org/Message+Driven+POJOs
Depending on how complex your runtime-configuration is you could create your own Spring Factory Beans to do wacky stuff (query a database or whatever to figure out the provider URLs etc) or use a Spring post processor to inject values from some other source (JNDI, LDAP etc).
James
http://logicblaze.com/ -
PI as Webservice provider - URL with username and password
Dear Experts,
I need to test my webservice in PI from a SOAP client like XMLSpy or SOAPUI.
I tested the URL from the browser. It prompted for the username and password and worked.
How do I pass the username and password in the URL when I call this from the SOAP clients?
I tried the following format:
http://<server:5xxxx>/XISOAPAdapter/MessageServlet?channel=:<bs>:<soap sender channel>&sap-user=<username>&sap-password=<password>
I still got a 401 Unauthorized response back.
Any ideal please?Hi
1) testing through XML Spy
In your WSDL file provide URL in -
<soap:address location="http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
While sending request to server,it will ask XI/PI user id and password itself. The user id must have authorization to invoke web service.Better take SAP_ALL or PIAPPLUSER authorization in this id.
2) You can pass user id and password also in this URL
http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel>&sap-user=<username>&sap-password=<password>
Try both the options.
Best Regards -
Failover cluster wmi provider detected an invalid character
We are getting this recurring error in our two node hyper-v cluster:
ID: 6237 Source: FailoverClustering-WMIProvider
Logs anywhere from 1- 15 of these errors every half hour. We are running on Server 2008 R2 SP1 with Hyper-V role and management done by VMM 2012. Hosts are identical hardware (Intel Board, dual quad-core Xeon, 48gb ram) and VMs running on EMC VNXe 3100 shared
storage via iSCSI.
Log Name: Microsoft-Windows-FailoverClustering-WMIProvider/Admin
Source: Microsoft-Windows-FailoverClustering-WMIProvider
Date: 5/6/2013 5:02:11 AM
Event ID: 6237
Task Category: Failover Cluster WMI Provider
Level: Error
Keywords:
User: COASCADA\msscvmm
Computer: wwpsvrhypv02.coascada.local
Description:
Failover Cluster WMI Provider detected an invalid character. The private property name 'PreviousOfflineAction' had an invalid character but the provider failed to change it to a valid property name. Property names must start with A-Z or a-z, and valid characters
for WMI property names are A-Z, a-z, 0-9, and '_'.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-FailoverClustering-WMIProvider" Guid="{0461BE3C-BC15-4BAD-9A9E-51F3FADFEC75}" />
<EventID>6237</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>1</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2013-05-06T12:02:11.390560300Z" />
<EventRecordID>8301</EventRecordID>
<Correlation />
<Execution ProcessID="6900" ThreadID="5376" />
<Channel>Microsoft-Windows-FailoverClustering-WMIProvider/Admin</Channel>
<Computer>wwpsvrhypv02.coascada.local</Computer>
<Security UserID="S-1-5-21-3378633525-1537071075-772992230-3177" />
</System>
<EventData>
<Data Name="Parameter1">PreviousOfflineAction</Data>
</EventData>
</Event>Hi,
You may try the hotfix in KB 974930:
An application or service that queries information about a failover cluster by using the WMI provider may experience low performance or a time-out exception
http://support.microsoft.com/kb/974930
Cause:
This problem occurs because the WMI provider responds to the query requests very slowly. The time that the WMI provider takes to complete the query requests affects the following performance measurements:
The ability and reliability of the service or application
The speed of generating a status report about the failover cluster
Therefore, a slow response of the WMI provider may cause the application or service to function abnormally.
For more information please refer to following MS articles:
Event ID 6237: Failover Cluster WMI Provider detected an invalid character
http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2highavailability/thread/bae84aea-5a80-4637-989b-c31bbc1aa55a/
Lawrence
TechNet Community Support -
Gives error The requested URL "/", is invalid but I gave a valid format
I gave firefox 3.6.6 what I think is a properly formatted URL, namely http://www.3dfx.com. Firefox changes this to http://www.3dfx.com/ I think the added / indicates it got a response from the URL I gave but then it says The requested URL "/", is invalid.
Reference #9.eb4a595.1295368725.9366789
so it seems like it did not understand the format. By comparison, I enter http://www.purdue.edu and it is changed to http://www.purdue.edu/ and the page is displayed.Here's a (maybe THE) solution, assuming you have the HTTPS Everywhere add-on installed. If not, then this will probably be of no help at all (sorry).
I was having this exact issue, only when attempting to reach the Washington Post website, which had always worked for me without problems before. I received this error message:
The requested URL "/", is invalid.
To make matters even more confusing, I could reach the desired web site (using the same URL--http://www.washingtonpost.com) on the same PC using Internet Explorer, and on another PC using Firefox.
After an annoying search, Googling this error message, and trying a variety of suggested remedies, I was finally able to resolve the problem by changing the settings for the Firefox add-on HTTPS Everywhere.
In Firefox, click on the Tools menu, then select Add-ons, then click on HTTPS Everywhere and click on the Options button. The HTTPS Everywhere Preferences screen will appear asking, "Which HTTPS redirection rules should apply?"
Uncheck the website you're having the problem with and click OK. That should solve the problem. At least, for me it ended the problem immediately, without restarting Firefox, my PC, my router, or any of the other "remedies" I had tried during my earlier troubleshooting efforts. -
At least once a day on my work PC Desktop I will type in Yahoo.com or Amazon.com or any other valid popular website and all of a sudden I get the "Security Exception" error message and when I select to confirm it I then get:
"Invalid URL
The requested URL "/", is invalid.
Reference #9.a2fc54b8.1345130184.5cbbba6 "
At that point I cannot access that website at all. Then I have to clear all history and restart my computer, at least once a day and hope it works. I've scanned the support forum and I have done everything they suggest: disabled all add-ons (not that I even have any), reset Firefox, restart in safe-mode. Nothing works, it's very frustrating. It completely interrupts my workday. HELP!!Hmmm, there are some issues on certain sites caused by the new Autofill feature that suggests a URL in the address bar. When this happens, are you pressing Enter to accept a suggestion?
If so, related threads:
* [https://support.mozilla.org/en-US/questions/933563#answer-356371 typing in url for my company website sends it to https index page in Firefox, but not IE or Chrome, and the behavoir is not wanted]
* [https://support.mozilla.org/en-US/questions/933581 Why does when I type a website it adds the symbol / after automatically now and it takes me to fake websites???] -
MBAM - The endpint address URL is invalid
Hello IT-Pro's
I installed on a Windows Server 2012 MBAM 2.0. And I would like to deploy and configure the MBAM-Client that the Client (Winodows 8) automatically encrypt over the seeded GPO.
But rightnow - I have the problem that the client won't encrypt with the following error
An Error occured while applying MBAM policies.
Volume ID:\\?\Volume{...}\
Error code:
0x803D0020
Details:
The endpoint address URL is invalid
I checked up the endpoint URL thousand of times in the GPO Config @ "Configure MBAM Service" and I typed the URL as wished but it did't work.
http://<servername>:<port>/MBAMRecoveryAndHardwareService/CoreService.svc
http://<servername>:<port>/MBAMComplianceStatusService/StatusReportingService.svc
Can anybody help me?
Thanking anybody in advance.
Cheers RaebaanThanks a lot for your reply - I solved this problem (A wrong Registry-Key) but rightnow I have a new problem with my client respectively with TPM.
If I checkup in the SQL-database for the TPMhash - the value is NULL! Have you got any idea to solve this problem?
Thanking everybody in advance for any feedback!
CheersRaebaan -
Every time I try to go to my homepage I get an error saying my url is invalid
every time I try to go to my home page I get the error, "url is invalid" Why is this happening? How do I validate my url?
What is the full URL of the home page?
See also:
*https://support.mozilla.org/kb/How+to+set+the+home+page -
I get this about every 10 minutes and I have to restart my Mac and start again.
It is so annoying can anyone help me?
Invalid URL The requested URL "/", is invalid. ReferenceFor which browser and version? If Safari, there may be a solution found in the "More Like This" section over in the column on the right side of this website.
Maybe you are looking for
-
USB scanner no longer recognized by MacBook
I have a Fujitsu ScanSnap 1500M which worked wonderfully until very recently. The scanner itself appears to still work but my MB does not recognize it. The problem started after I made a couple of changes to my setup: (1) I switched computers with my
-
What is Short Dump Analysis and secendry index ?
Dear Experts . 1.) What is purpose of T-codes SE30 and ST22 ? What is Short Dump Analysis ? 2.) What is secendry index , How to use it ? How it effects the Performance of a report ? Please it is urgent ... Regards : Rajneesh
-
Adf table columnStretching issue when using with in panel splitter
My Scenario is like this: I have used adf table with columnStretching to last column of table. And the table is placed at second facet of panelSplitter. On load it covers full area of second facet which is pretty good. When try to collapse panelSplit
-
How to get documents from content server on web pages
Hello, I want to get the documents from the ECM(UCM server) of same document type and also want their metadata fields to displayed on adf application. How can i fetch these documents?
-
I recently noticed that in mountain lion, when I insert the such card from my camera, the avchd folders that used to exist in previous operating systems are now QuickTime files. If I wish to see what I could see in previous operating systems by simp