JMS1.1 Domain Unification Sample
I have this sample setup in JDev 1013 preview and on the command line. When I run ant listenTopic, I get a class not found exception for this class:
oracle/oc4j/admin/jmx/model/ManagementModelMBeanProvider
Well, after looking all over the 1013 installation jar set, I cannot find this class anywhere (jar search would be nice). Can anyone give a clue as to what jar I need to be using? I am probably overlooking something obvious but a hint at this point would be helpful.
Thanks in advance.
Bryan
I am also running across this issue right now in JDev 10.13 preview. Instead I'm trying to connect to an OC4J JMS Queue. I looked and I couldn't find the missing class anywhere. Does anyone know how to solve this? Bryan, did you get around it at all?
Thanks,
Bill
Similar Messages
-
JMS1.1 Domain Unification sample using OC4J 10g
I am trying to run the JMS1.1 Domain Unification sample using OC4J 10g
I am not sure why I get the Invalid provider URL exception at run time when trying to run AsyncClient using listenTopic in Ant. The code prints out the provider URL accurately from my ConnectionParam.java file but exception happens after that. I am running the J2EE container using OC4J and can access http://localhost:8888/adminoc4j as an admin user.
++++++++++++++++++++++++++++++++
C:\JMS1.1>c:\apache-ant-1.6.1\bin\ant listenTopic
Buildfile: build.xml
listenTopic:
[java] local url...
[java] http://localhost:8888/adminoc4j
[java] env Hashtable populated...
[java] javax.naming.NamingException: Invalid provider URL
[java] at com.evermind.server.rmi.RMILocation.parseURL(RMILocation.java
:83)
++++++++++++++++++++++++++
This is the initialize method from AsyncClient.java.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=
public void initialize() throws Exception{
Hashtable env = new Hashtable();
// set the environment properties
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.evermind.server.rmi.RMIInitialContextFactory");
System.out.println("local url...");
System.out.println(ConnectionParams.PROVIDER_URL);
env.put(Context.PROVIDER_URL, ConnectionParams.PROVIDER_URL);
env.put(Context.SECURITY_PRINCIPAL, ConnectionParams.USERNAME);
env.put(Context.SECURITY_CREDENTIALS, ConnectionParams.PASSWORD);
System.out.println("env Hashtable populated...");
// get the initial context
InitialContext ctx = new InitialContext(env);
System.out.println("got context...");
// lookup the queue and topic objects
Destination topic = (Destination) ctx.lookup("jms/sampleTopic");
System.out.println("looked up topic...");
// lookup a connection factory
ConnectionFactory factory = (ConnectionFactory) ctx.lookup("jms/sampleConnectionFactory");
// create a connection
Connection connection = factory.createConnection();Sorted out the answer myself.
+++++++++++++++++++++++++++++
The URL in ConnectionParams should use ormi protocol as given in the sample example.
Good example and it all works! Thanks.
+++++++++++++++++++++++++++++++++++++++++++++
public class ConnectionParams{
// variable for OC4J Provider URL
public static String PROVIDER_URL="ormi://localhost:23791";
+++++++++++++++++++++++++++++++++++++++++++++ -
Subscribe OJMS Message from Java Client ??
Hi
I am using Oracle 9iAS (9.0.3) with OJMS as JMS Resource Provider. I could able to publish the messages and MDB's will be able to subscribes the messages.
How to subscribe the above message from External Java Client.
Can anybody will provide some sample code.
Thanks in Advance
MadhuThe problem here is how to register JMS destination (topic or queue) in JNDI and then to obtain the initial context where they can be looked up. Then the business is the same for an External Java Client as the code that runs in JSP.
To do it, you may see the code examples in
http://www.oracle.com/technology/sample_code/tech/java/jms/index.html
The second example, "JMS1.1 Domain Unification Sample" which is for 10g, does work for me. I did not try the first example, "JMS Sample Application", which is for oc4j 9.0.2 or higher. -
Hi All,
i am very now to JMS . we using oracle application server 10g and oc4j integrated with jdeveloper ,actually i need to one sample application for jms publish/subscribe .can any one send one simple eaxmple.please help me.
in a jms program how can a sender or publisher identifies the receiver or subscriber for this we need to specify any port number or we have to write any code. please help me.
http://www.oracle.com/technology/sample_code/tech/java/jms/index.html
in the above url i am able to deploy and run the "JMS1.1 Domain Unification Sample "application ,but i am unable to identify in coding of this example how sender know the receiver.please help to find out this in coding .please help me.
Regards,
Sai.Hello,
I think it is easier to start with OC4J 10gR3 stand alone, and configure using Enterprise Manager. I would point you to the OC4J JMS how-tos. It is certainly a good start.
Regards
Tugdual Grall -
Hi All
I am working with Oracle Application Server 10g.
Here I downloaded one jms example from oracle site.
while running i am getting following error :
C:\mg_jms\JMS1.1\JMS1.1>ant postMessage
Buildfile: build.xml
postMessage:
[input] Enter the message :
sriram
[java] javax.naming.NoInitialContextException: Cannot instantiate class: co
m.evermind.server.rmi.RMIInitialContextFactory [Root exception is java.lang.Clas
sNotFoundException: com.evermind.server.rmi.RMIInitialContextFactory]
[java] at javax.naming.spi.NamingManager.getInitialContext(NamingManage
r.java:657)
[java] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.
java:247)
[java] at javax.naming.InitialContext.init(InitialContext.java:223)
[java] at javax.naming.InitialContext.<init>(InitialContext.java:197)
[java] at oracle.otnsamples.jms.JMSProducerConsumer.performMessagingOpe
rations(JMSProducerConsumer.java:98)
[java] at oracle.otnsamples.jms.JMSProducerConsumer.main(JMSProducerCon
sumer.java:71)
[java] Caused by: java.lang.ClassNotFoundException: com.evermind.server.rmi
.RMIInitialContextFactory
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:242)
[java] at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelp
er12.java:42)
[java] at javax.naming.spi.NamingManager.getInitialContext(NamingManage
r.java:654)
[java] ... 5 more
Please help me how to slove thisHi Avi,
Thanks for your response.
Now i am able to run that example.But in coding of in this example i am unable to find out how the sender or publisher identifies the receiver or subscriber.please help me Avi. This is the url
http://www.oracle.com/technology/sample_code/tech/java/jms/index.html
this example.
JMS1.1 Domain Unification Sample
please help me. -
Hello All,
In 10g, we had BPEL samples under the domain with samples, utils and other folders. Do we have similar samples for 11g.
ThanksHi,
Samples are not shipped with product in 11g. You can download the samples at
http://www.oracle.com/technology/sample_code/products/soa/index.html
FOD can be downloaded from:
http://www.oracle.com/technology/products/jdev/samples/fod/index.html -
How to reset local admin user password in
Dear members,
i want to reset local admin account(not administrator built-in), let say i have user adminlocal and member in administrator group. my question, how to reset this user via GPO in domain, because i have more than 5000 workstation in my environment. and how to
generate summary of all workstation which are password reset.
i've tried from this link,
http://community.spiceworks.com/how_to/show/1966-how-to-change-local-user-or-admin-passwords-on-remote-computers
using PSTools sysinternal from microsoft, but while i execute one PC on domain for sample using this script, they showing access denied
anyone in this forum can help me to resolve this problem?.Dear,
you can use Powershell to do this.
I've found a script in the script center which can do this.
http://gallery.technet.microsoft.com/scriptcenter/66a5b38f-cdf1-4126-aa0c-be65e16dd650/view/Discussions#content
Set-Password -computer 'server' -user 'Administratorlocal'
You can create a loop in powershell to check all your servers which you've posted in a .txt file for example.
$strcomputers = Get-Content c:\servers.txt
foreach ($strcomputer in $strcomputers)
$admin=[adsi]("WinNT://" + $strComputer + "/administratorlocal, user")
$admin.psbase.invoke("SetPassword", "Whatever1") -
first, sorry for my poor english,if any question about the under words , pls tell me, I'll try my best to explain it clear
there is a matter with my mail server ,that is , for example:
mail domain: sample.com
domain name of machine: sample1.com
if a message from remote server send to my mail server,
first step,the ims52 would examine domain of the message,if it is sample.com then goto second step,else reject rely
second step,ims52 would exmaine the local part of address in LDAP to see wheather it is valid,if it is invalid ,the message will be reject to deliver to mailbox
but I find ,if you send a message which address is [email protected](for example [email protected] is domain name of the machine witch ims52 run on ) to the mailserver which use ims52 , the ims52 would not examine wheather it's domain or local part is valid . the message would deliver between the parter of my mail system util the number of route overflow the number of been allow,at last the file of message would HELD in the queue directory
I find many mailserver use IMS52 has this question,
is this a bug of ims52???a example:
my ims52 host in a machine which named mta.test.com , the hostname is mta, the domain name is test.com
mail domain is sample.com,in this domain ,there are 3 user: a,b,c . then [email protected] , [email protected], [email protected] is valid address,so if a message's address is not [email protected] or [email protected] or [email protected], the mail server will reject it.
but if you send a message which domain is subdomain of machine to mailserver, such as [email protected] , [email protected] , the mailserver would accept it although the address is invalid
if there two or more mta in your mail system,the message would deliver between these machine ,at last the message marked with HELD flag,and stay in queue directory -
Create a user defined table and creating bussiness entities
Hi
I am trying to create a bussiness entity which is mapped to table SAMPLE(NAME,Value)
I created metadata in UI
1) I created a _Impl.java
* @BusinessEntity
* (tableName = SAMPLE)
public class Sample_Impl
extends Sample_Gen{
2)XXXXCodeDescriptionQuery.java
* @EntityCodeDescriptionQuery
* (entity = sample, programName=Sample)
* @author One time generator
* @version $Revision: #1 $
public class SampleCodeDescriptionQuery
extends EntityCodeDescriptionQuery {
3)/**
@EntityListPageMaintenance ( service = CILTSAMP, modules={foundation}, entity = sample, program = SampleListMaintenance,
body = @DataElement (contents = { @FieldGroup (name = SRCH-CRITERIA,
contents = { @DataField (name = NAME)})
, @DataField (name = NAME)
, @ListField (name = NAME)}),
lists = { @List (name = NAME, size = 50, *program* = SampleListMaintenance,
body = @DataElement (contents = { @RowField (includeRCopybook = false, entity = sample)}),
headerFields = { "NAME"})})
public class SampleListMaintenance
extends SampleListMaintenance_Gen{
and when I run the AG i am getting the error
2011-02-02 15:28:47,160 [main] ERROR (sourceparser.service.EntityCodeDescriptionProcessor) No such description property description on entity sample in entity code and description query com.splwg.base.domain.common.sample.SampleCodeDescriptionQuery
Am I doing wrong?
What more I need to do?
what is the program = SampleListMaintenance? what should this map to in SampleListMaintenance.java?
what is the programName=_Sample_? what should this map to in SampleCodeDescriptionQuery.java? when I remove this program or programName I am getting error that they are requiredHi ,
The problem is fixed, the link mentioned below might be use full for doing this.
http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T457083.htm
regards
Srikkanth -
Hi All,
I have to do some customization on CC&B screens. Could any one please help me in finding the information to do the following.
1. How to add a field in existing Oracle CC&B screen.
2. To create my own table in oracle database.
3. To create my screen and to show information from this table.
4. How to generate all classes needed to work these properly.
Thanks,
ParvathiHi
I am trying to create a bussiness entity which is mapped to table SAMPLE(NAME,Value)
I created metadata in UI
1) I created a _Impl.java
* @BusinessEntity
* (tableName = SAMPLE)
public class Sample_Impl
extends Sample_Gen{
2)XXXXCodeDescriptionQuery.java
* @EntityCodeDescriptionQuery
* (entity = sample, programName=Sample)
* @author One time generator
* @version $Revision: #1 $
public class SampleCodeDescriptionQuery
extends EntityCodeDescriptionQuery {
3)/**
@EntityListPageMaintenance ( service = CILTSAMP, modules={foundation}, entity = sample, program = SampleListMaintenance,
body = @DataElement (contents = { @FieldGroup (name = SRCH-CRITERIA,
contents = { @DataField (name = NAME)})
, @DataField (name = NAME)
, @ListField (name = NAME)}),
lists = { @List (name = NAME, size = 50, *program* = SampleListMaintenance,
body = @DataElement (contents = { @RowField (includeRCopybook = false, entity = sample)}),
headerFields = { "NAME"})})
public class SampleListMaintenance
extends SampleListMaintenance_Gen{
and when I run the AG i am getting the error
2011-02-02 15:28:47,160 [main] ERROR (sourceparser.service.EntityCodeDescriptionProcessor) No such description property description on entity sample in entity code and description query com.splwg.base.domain.common.sample.SampleCodeDescriptionQuery
Am I doing wrong?
What more I need to do?
what is the program = SampleListMaintenance ? what should this map to in SampleListMaintenance.java?
what is the programName= Sample ? what should this map to in SampleCodeDescriptionQuery.java? when I remove this program or programName I am getting error that they are required
Edited by: Big Bro on Feb 2, 2011 2:14 AM -
There are 43 interfaces in JMS api as of j2ee 1.4beta. That seems to be awful lot of interfaces to do messaging.
The "domain unification of the interfaces" in jms 1.1 is a welcome improvement, but still it's huge.
Any thoughts ?Why, is that too many? How many do you suggest?
-
Hi ,all
I am beginner for windows 8 app development.
I created simple project on domain name called www.aaa.com and also hosted web services on same domain. at that time i was able to access web services on my application code using AJAX. Then i created same project on another domain called www.bbb.com then
i tried to access wcf services from www.aaa.com domain. at that time my javaScript console is throwing this error "SCRIPT7002: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd.
File: default.html". I tried some thing on both end on web services project as well as windows 8 app.
AT app side in package.appxmanifest file i added below code.
<Capabilities>
<Capability Name="privateNetworkClientServer" />
<Capability Name="internetClient" />
</Capabilities>
AT web services side in web.config file i added following settings.
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"
multipleSiteBindingsEnabled="true" />
<standardEndpoints>
<webScriptEndpoint>
<standardEndpoint name="" crossDomainScriptAccessEnabled="true" />
</webScriptEndpoint>
</standardEndpoints>
but above all diagnostics are not working for me.
and one more thing at www.bbb.com domain in sample android app while i am trying to consume my wcf services it is working fine. the problem is specifically for windows 8 app only.
Here is sample code which i had written in default.html file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>DemoWebService</title>
<!-- DemoWebService references -->
<script src="/js/default.js"></script>
<script>
var personNameVar = "Hardik";
var dataIn = '{' + '"personName":"' + personNameVar + '"}';
$.ajax({
url: "http://SomeIP:SomePort/Service1.svc/HelloWorld",
type: "POST",
contentType: "application/json; charset=utf-8",
data: dataIn,
dataType: "json",
success: function (data) {
var object = JSON.parse(data.d);
if (object.Error == '') {
$('body').html(object.Response);
error: function (error) {
$('body').html(error);
</script>
</head>
<body>
</body>
</html>
so is there any help. I am eagerly waiting for it.
P.S I am accessing www.aaa.com web services using VPN.
Thanks in advance,
HardikIn that case, I recommend that you collect a Network trace using a tool such as Microsoft Network Monitor or Wireshark to understand what IP Address is the connection being made to. The 0x2efd error correlates to the WinINet error: ERROR_INTERNET_CANNOT_CONNECT
meaning that the connection with the remote server cannot be established. When you collect a network trace, try looking for the TCP-SYN signal and see whether your remote server responds with a SYN-ACK.
Windows Store Developer Solutions, follow us on Twitter:
@WSDevSol|| Want more solutions? See our blog -
Error conecting portal with lotus notes
I configured the lotus porlets and pdk samples, the pdk samples
work perflectly, I reached congratulations sample page of the
pdk samples with the: http://localhost.domain/servlet/sample
but when I try with
http://localhost.domain/servlet/lotusAppProv y have this:
"Forbidden You don't have permission to
access /servlet/lotusAppProv on this server.
Oracle HTTP Server Powered by Apache/1.3.19 Server at demo Port
80"
And when I try to login to the Lotus Notes Inbox from the
External Application y get a 500 internal error and in the
mod_jserv log I have this:
10/12/2001 20:32:50:390] (ERROR) ajp12: Servlet Error:
java.lang.VerifyError: (class:
com/ibm/CORBA/iiop/GenericServerSC, method: dispatch signature:
(Lcom/ibm/CORBA/iiop/IIOPInputStream;Lcom/ibm/CORBA/iiop/IIOPOutp
utStream;)V) Illegal use of nonvirtual function call: (class:
com/ibm/CORBA/iiop/GenericServerSC, method: dispatch signature:
(Lcom/ibm/CORBA/iiop/IIOPInputStream;Lcom/ibm/CORBA/iiop/IIOPOutp
utStream;)V) Illegal use of nonvirtual function call
[10/12/2001 20:32:50:390] (ERROR) an error returned handling
request via protocol "ajpv12"
[10/12/2001 20:32:50:390] (ERROR) balance: 1052 internal servlet
error in server localhost:1035
[10/12/2001 20:32:50:390] (ERROR) an error returned handling
request via protocol "balance"
If someone has installed successfully the lotus porlet, please
write me, or someone can solve this problem, please help me.
Thanks
Esteban.Hi Emma,
I guess you have posted two topics for the same issue. I have replied to the other topic.
You can access that topic with the following URL:-
Oracle Portal with Lotus Notes Databases
Take care,
Manoj -
Workshop never connects to the WebLogic Server
When I start WLS 7.02, the Workshop product with 7.02 does not show connected.
Therefore, from Workshop, I can not deploy to or shutdown the WLS server. What
am I missing?
Thanks,
DLGDavid,
Deleting the .workshop file would cause the IDE to connect to the sample
server. Which is what happened in your case.
If you need to connect to a different server, the settings must be changed
on the IDE.
Please refer to the following document for more information on this
http://e-docs.bea.com/workshop/docs70/help/guide/howdoi/howCreateNewWLW-enab
ledWLSDomain.html
Thanks
Raj Alagumalai
WebLogic Workshop Support
Refer to teh following
"David Geiger" <[email protected]> wrote in message
news:3ed37f39$[email protected]..
>
After changing the domain from samples, I am able to start up WLS,however, Workshop
does not register it starting and maintains the disable status. It didcreate
a new .workshop file.
Now, when I first went to start WLS, it worked (start & stop), however itwas
using the samples server domain.
Thanks,
DLG
"Raj Alagumalai" <[email protected]> wrote:
David,
Can you follow the following steps and let me know what happens
Deleting the .workshop file found in the c:\documents and
settings\username
folder
Restart the Workshop IDE.
Start the server from the IDE.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"David Geiger" <[email protected]> wrote in message
news:3ece92d9$[email protected]..
When I start WLS 7.02, the Workshop product with 7.02 does not showconnected.
Therefore, from Workshop, I can not deploy to or shutdown the WLS
server.
What
am I missing?
Thanks,
DLG -
Hi All,
We have install BPC-NW with 2 tiers.
First is BPC .Net tier on Windows Server 2008 R2
Second is BPC ABAP tier on BW NetWeaver
and users are from Domain for sample (Domain\bpcu01 - 10)
So, my question is How to install license to this systems, on ABAP-NW-BW tier or on .Net tier?
and where to get these license.
Thanks for your helps.Hello Por Aphisit,
In order to register and install licenses, please refer to this SAP Note:
1054121 - The SAP Ecosystem in a Nutshell
It will guide you to the correct channel.
Best regards,
Vin
Maybe you are looking for
-
Hi, I bought this laptop from someone I know, and Windows 7 came with it. I must say I don't know much about electronics. The built-in webcam won't work, either on CyberLink YouCam or on MSN Messenger. On CyberLink Youcam, it says no webcam is detect
-
Parent/Child communication in CS3
Hello - I have a movie setup that imports another external swf file. I am trying to get the two movieclips to communicate with eachother. I am able to call a function in the child movie from the parent movie, but I cannot get the child movie to call
-
I can't run labview, an error appears : stack overflow.
My system is Windows NT. I use Labview to acquire images. I used Measurement and Automation to calibrate the acquisition card.After that I would to open labview, but an error appeared "stack overflow". I tried to reinstall Labview but the error is al
-
hi all! i am new of this forum so please excuse me if am offtopic! i wonder if is it possible yet to buy acrobat 8. the reason is that the price for acrobat 9 is ...quite high, and i don't like to crack the software. on the web there are some places
-
Unity Connection Learning Extension for sign-in
I have a scenario where the client wants everyone to have to enter their ID followed by their PIN to log in to their voicemail box. This has been working great for the last 4 months. Suddenly we are getting calls where users are only asked for thei