Any working MDB examples with 9.2.0.3? AQ? OJMS
Does anyone have a working MDB app for app server version 9.2.03 and database 9.2.0.1.0 ???
I realize the messagelogger app is not compatible; I also am having problems with the MDB sample from Wrox ch19.
In general, I am very confused about which JMS provider is supplied with this release and what is supposed to work with it. If anyone can give a clearer picture of oracle's JMS status, please do so. I have read the release notes and have just gotten more confused. OJMS vs. Oracle JMS vs. OC4J/JMS... what is what here. Also, how does Advanced Queueing (AQ) fit into the picture? Is it required with this release?
Thanks for any info on these questions.
Allan
Hi Stefan,
Exactly which Java component did the installation stop at, and if you go to the end of the install log (install log is in oraInventory/logs directory, it's named installActions<date>.log), what does it say?
If you forgot to set LD_ASSUME_KERNEL to "2.4.1", the installer will stop right at the beginning when it starts copying files. This is because although the installer is a Java app, it calls native shared libraries via JNI to perform OS operations like copying files or changing file permissions. Those shared libraries were compiled against an earlier version of glibc.
The only places where relinking stopped for me were at oemagent and at a ctx agent. The ctx agent has a fix which is well known. The oemagent cannot be fixed without hacking glibc source code and recompiling I think. I haven't had time to try that yet.
Cheers,
Dave
Similar Messages
-
Error running A Simple MDB example with oc4j
Hi All,
I am new to OC4J, I am trying the example for MDB from OTN's site, A Simple MDB example with OC4J. When I start my OC4J on the command line > java -jar oc4j.jar
I get the following exception:
Error deploying file:/C:/unzipped/mdb_hello_world/build/mdb/mdb.jar homes: No lo
cation set for Topic resource MessageDrivenBean MDB
Error in application mdb: Error loading package at file:/C:/unzipped/mdb_hello_w
orld/build/mdb/mdb.jar, Error deploying file:/C:/unzipped/mdb_hello_world/build/
mdb/mdb.jar homes: No location set for Topic resource MessageDrivenBean MDB
04/07/09 15:21:40 Error instantiating application 'mdb' at file:/C:/unzipped/mdb
helloworld/build/mdb.ear: Error initializing ejb-module; Exception Error in ap
plication mdb: Error loading package at file:/C:/unzipped/mdb_hello_world/build/
mdb/mdb.jar, Error deploying file:/C:/unzipped/mdb_hello_world/build/mdb/mdb.jar
homes: No location set for Topic resource MessageDrivenBean MDB
04/07/09 15:21:41 Error starting HTTP-Server: Address already in use: JVM_Bind
04/07/09 15:21:41 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
initialized
I have just followed all the steps provided to run the example exactly as given.
I did add my Topic and TopicConnectionFatory entries in my jms.xml -
<topic name="The Topic" location="jms/theTopic">
<description>A MDB topic</description>
</topic>
<topic-connection-factory location="jms/theTopicConnectionFactory" />
Here is the ejb-jar.xml given in the example:
<?xml version="1.0"?>
<!DOCTYPE ejb-jar>
<ejb-jar>
<enterprise-beans>
<message-driven>
<description>My message driven bean</description>
<ejb-name>MDB</ejb-name>
<ejb-class>MDB</ejb-class>
<transaction-type>Container</transaction-type>
<message-driven-destination>
<destination-type>javax.jms.Topic</destination-type>
<subscription-durability>NonDurable</subscription-durability>
</message-driven-destination>
<resource-ref>
<description>The log topic where log events are broadcasted...</description>
<res-ref-name>jms/theTopic</res-ref-name>
<res-type>javax.jms.Topic</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<description>The Factory used to produce connections to the log topic...</description>
<res-ref-name>jms/theTopicConnectionFactory</res-ref-name>
<res-type>javax.jms.TopicConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>MDB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
Here is my orion-ejb-jar.xml:
<?xml version="1.0"?>
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
<orion-ejb-jar deployment-version="1.0.2.2" deployment-time="e7f5a3f42d">
<enterprise-beans>
<message-driven-deployment name="MDB" destination-location="jms/theTopic" connection-factory-location="jms/theTopicConnectionFactory">
<resource-ref-mapping name="jms/theTopic" />
<resource-ref-mapping name="jms/theTopicConnectionFactory" />
</message-driven-deployment>
</enterprise-beans>
<assembly-descriptor>
<default-method-access>
<security-role-mapping name="<default-ejb-caller-role>" impliesAll="true" />
</default-method-access>
</assembly-descriptor>
</orion-ejb-jar>
I don't know what is wrong. Please help me.
RohiniHello,
I guess that you didn't define the Topic and/or TopicConnectionFactory on your OC4J
Inside $J2EE_HOME/config (see: subfolders .../j2ee/home/config e.g.)folder are several xml files appropriate for OC4J configuration. There's also jms.xml. Please, verify this one, it should have some entries for your settings.
Just like in an example below:
<topic-connection-factory name="TopicConnectionFactory" location="jms/TopicConnectionFactory"/>
<topic name="theTopic" location="jms/theTopic"/>
The names should be the same like in your MDB deployment descriptors. It works of course after next OC4J server restart.
I hope helped you
Krzysztof -
Has anyone done any work in Labview with a Hund enviromental monitoring unit?
The data cable from the unit connects to a dongle that is plugged into the parallel port of the computer. The only software that work with dongle in place is the manufacturer's software, which is not adequate. I would like to create a VI using Labview to monitor the measurements taken by the unit.
Wow. You are in a tough spot. I could not find anything on our site that mentions Hund. Since the manufacturer is using a dongle, I would be surprised if they would reveal how to communicate with the instrument. If we had that information, we could do the communication in LabVIEW.
If the software program reveals some of its properties and methods using ActiveX, you can have LabVIEW use the software that controls the device. It is a long shot.
Jeremy Braden
National Instruments -
i need to add bpm to my songs but in some of them i just can't add/modify any info. it seems like it happens only with the verified songs (the ones i download from souncloud work for example) probably verified trough gracenote..is there anything i can do?
this is what happens when i try to add/modify the infos and it doesn't work, i'm even unable to click in the spaces
thanks for your attention,sorry for the bad englishRight-click on your main iTunes folder and click Properties, then go to the Security tab and click Advanced. If necessary grant your account and system full control to this folder, subfolders and files, then tick the option to replace permissions on child objects which will repair permissions throughout the library. This is the XP dialog but Windows 7 shouldn't be too different.
tt2 -
MQ + OpenLdap: Any working example of LDAP configuration?
MQ + OpenLdap: Any working example of [LDAP configuration], [LDIF initial data] and [imobjmgr addTopicFactory/addTopic command] files ?
I'm using Sun MQ3.5 + OpenLdap2.2.20 as jndi remote binding mechanism.
I've unsuccessfuly tryed to add a Topic Factory!
Running the command
imqobjmgr -i add_ldap_topic_factory.poperties
I get such an exception:
javax.naming.OperationNotSupportedException:
[LDAP: error code 53 - no global superior knowledge];
remaining name 'cn=myTopicConnectionFactory'
This is the test configuration adopted using rootdn user to write to LDAP repository:
#slapd.conf
include /usr/local/etc/openldap/schema/core.schema
database bdb
suffix "dc=imq,dc=com"
rootdn "cn=Manager,dc=imq,dc=com"
rootpw secret
directory /usr/local/etc/openldap/var/openldap-data
index objectClass eq
#test.ldif
dn: dc=imq,dc=com
objectClass: dcObject
objectClass: organization
dc: imq
o: imq
#add_ldap_topic_factory.poperties
version=2.0
cmdtype=add
obj.type=tf
obj.lookupName=cn=myTopicConnectionFactory
obj.attrs.imqAddressList=mq://localhost:7676/jms
objstore.attrs.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
objstore.attrs.java.naming.provider.url=ldap://localhost:389/o=imq
objstore.attrs.java.naming.security.principal=cn=Manager,dc=imq,dc=com
objstore.attrs.java.naming.security.credentials=secret
objstore.attrs.java.naming.security.authentication=simple
Thanks for any suggestion,
SilvanoAgreed.
I've been wanting to test the steps and write a tech article on this
and post it to somewhere on sunsolve.sun.com but have not had
time yet.
In any case, the instructions Ken-shi gave are below including
the 3 files (etang.ldif objectstore.properties slapd.conf). Not sure
how messy this posting can get due to size of files.
I'd much rather point you to a sunsolve article but don't want
to make you wait. When I do post the sunsolve article, this thread
will be updated with a ptr to it.
===Begin instructions===
Attached please see my working configuation files.
1.Modify your OpenLdap configuration. (see slapd.conf)
start OpenLdap: ./slapd
2.Modify you initial data.( see etang.ldif)
load initial data: ldapadd -x -D "cn=Manager,dc=etang,dc=com" -W -f
etang.ldif
3.ObjectStore properties ( see objectstore.properties )
create your object store with "Administration" GUI on windows;
while creating destinations or connection factories, be sure that the
lookup names start with "cn=".
===End instructions===
===Begin etang.ldif===
dn: dc=etang,dc=com
objectClass: dcObject
objectClass: organization
dc: etang
o: Etang Corporation
description: The etang corporation
dn: cn=Manager,dc=etang,dc=com
objectClass: organizationalRole
cn: Manager
description: Directory Manager
dn: o=IMQ,dc=etang,dc=com
objectClass: organization
o: IMQ
dn: ou=imqusers,o=IMQ,dc=etang,dc=com
objectClass: organizationalUnit
ou: imqusers
dn: cn=admin,ou=imqusers,o=IMQ,dc=etang,dc=com
objectClass: person
cn: admin
sn: admin
userPassword: admin
dn: cn=guest,ou=imqusers,o=IMQ,dc=etang,dc=com
objectClass: person
cn: guest
sn: guest
userPassword: guest
===End etang.ldif===
===Begin objectstore.properties===
java.naming.provider.url ldap://10.1.0.195:389/o=IMQ,dc=etang,dc=com
java.naming.factory.initial com.sun.jndi.ldap.LdapCtxFactory
java.naming.security.principal cn=admin,ou=imqusers,o=IMQ,dc=etang,dc=com
java.naming.security.authentication simple
java.naming.security.credentials admin
===End objectstore.properties===
===Begin slapd.conf===
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
include /usr/local/openldap/etc/schema/core.schema
include /usr/local/openldap/etc/schema/cosine.schema
include /usr/local/openldap/etc/schema/inetorgperson.schema
include /usr/local/openldap/etc/schema/dyngroup.schema
include /usr/local/openldap/etc/schema/java.schema
include /usr/local/openldap/etc/schema/nis.schema
include /usr/local/openldap/etc/schema/misc.schema
# Define global ACLs to disable default read access.
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile /usr/local/openldap/var/run/slapd.pid
argsfile /usr/local/openldap/var/run/slapd.args
# Load dynamic backend modules:
# modulepath /usr/local/openldap/libexec
# moduleload back_bdb.la
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
# Sample security restrictions
# Require integrity protection (prevent hijacking)
# Require 112-bit (3DES or better) encryption for updates
# Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64
# Sample access control policy:
# Root DSE: allow anyone to read it
# Subschema (sub)entry DSE: allow anyone to read it
# Other DSEs:
# Allow self write access
# Allow authenticated users read access
# Allow anonymous users to authenticate
# Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
# by self write
# by users read
# by anonymous auth
# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn. (e.g., "access to * by * read")
# rootdn can always read and write EVERYTHING!
access to * by * write
# ldbm database definitions
database bdb
suffix "dc=etang,dc=com"
rootdn "cn=Manager,dc=etang,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /usr/local/openldap/var/openldap-data
# Indices to maintain
index objectClass eq
===End slapd.conf=== -
I just bought a new MacBook Pro this summer and was all excited. But I'm very frustrated right now because I can't connect to any external monitors through VGA. My thunderbolt (DisplayPort Mini) to HDMI works just fine, but when I try with my other connector to go from Thunderbolt (DisplayPort Mini) to VGA, Nothing works. my screen goes blue and changes size like it recognized something but nothing is ever detected on the external moniter or projector. I'm not sure what is wrong but it's very frustrating. I'm just very depressed that it worked just fine with my 2-year-old MacBook Pro but isn't working now. I'm running OS X 10.8.2. I just upgraded yesterday from 10.8.1 but that upgrade did nothing to fix my problem. Can anyone help? Thanks
I am haveing this exact same issue. I have plugging in 3 monitors and tried two different VGA to mini displayport and nothing is working. I recently bought a Acer monitor and it work for an hour and now it back to doing the same thing.
When I plug the VGA adapter in to the monitor the monitor think its not connected to a computer then when disconnecting the VGA adapter the monitor thinks it is connected to a computer.
NEED SOME HELP!!! at the point of all my hair is pulled out.
^^^
that is the same problem i am having! if anyone can help that would be great i'm losing my mind over here -
I recently upgraded to iCloud 3.0 on home computer and now i get error messages when I open Outlook 2010. It worked fine before with iCloud 2.1.2. Any solutions? I'm on Windows 7, Outlook 2010.
HOW FRUSTRATING! NOW WHAT IS HAPPENING? WHEN I GO TO ANY WEBSITE THE PAGE FREEZES. TOP OF PAGE READS, MOZILLA FIREFOX NOT RESPONDING, THINK I"LL GO BACK TO IE, WAY TOO MANY ERRORS AND NO TECH SUPPORT ANSWERS
-
Hi, I have an iPod touch 5th generation which i got about 10 months ago and now my sound is not working. for example my music isn't playing nor are any of my game sounds. Someone help please.
No sound form :
- Speaker?
- Headphones?
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
Apple Retail Store - Genius Bar -
Upgraded to os7 and done my updates on the apps as they appear.. Any function to do with the iBook store is not working or visible. The purchase at the end of a sample book doesn't work either. Anyone have a solution?
Upgraded to os7 and done my updates on the apps as they appear.. Any function to do with the iBook store is not working or visible. The purchase at the end of a sample book doesn't work either. Anyone have a solution?
-
i have recently had my hard drive replaced due to a fault whilst in Germany working. Happy with the replacement, however when i go to log on as a user that screen is in German? Any idea how to change the language?
Greetings Lex,
Kind of you to comment ... but you are also adding years to my signature! I know I'm 76 but I don't want to think about it.
Regards 71. -
Has anyone done any work with the "Form" Email Feature in 2008?
Has anyone done any work with the "Form" Email Feature in 2008?
2006.7
Oracle 9i
Websphere 5.11
IE6 & IE7
I have been testing the version 2008.2 and noticed the "Form" link in the email templates, has anyone used this or know what its for?
It seems like a useful feature, but I can not find any documentation on its use.
Thank you
DanielHi Daniel,
The HTML widget we have incorporated into the application is an open source tool. It's name is FCKeditor. Here is the URL for the documentation site: http://docs.fckeditor.net/
- Ed -
when i try to use Command c it dose not work at all with any program but Command x and v works ?
i don't know what to do and how to fix it and why it habend ??????!!!!!!!!!Open the Speech pane of System Preferences and check whether either the listening key or the speech key has become set to that keystroke; if so, change the setting.
(63123) -
I updated my phone to the iOS7 and now when i try to use the keyboard, i can't see myself typing and it goes very slowly. I am confused to why this happened. It worked perfectly fine with iOS6. Any suggestions?
Hi imobl,
Thanks for your response, I forgot to add that the five 3uk sims we have in use, I have tried all of them none of them are recongnised non of them have pin codes, I even purchased four more sims Tmobile (original carrier) Vodaphone, 3 and giffgaff. -
Hi i been try to minimise few app like safari,Ical etc etc from the fullscreen view but didn't manage to find any solution!! With the command M shortcuts didn't work...any help???
To make a screen full screen, you click on the arrows in the upper right corner. To minimize, move your cursor all the way to the upper right corner of your desktop--give it a second--a symbol will appear that lets you "reverse" the action and minimize the window. Hope I'm explaining this correctly.
-
Lots of existing threads, but no consistent answer - what settings need to be applied to the 2012 (new) Airport Express for it to work at hotels with an ethernet only connection? Any answers specific to Japan would be helpful. I would prefer not to take my old Dell laptop and just be able to use my Ipad 2 via the wireless connection that the Airport Express creates. However, I can configure the Airport Express at home prior to leaving if that is the best thing to do.
I have a very similar problem with my AE! My MacBook, MacBook Pro & iPod Touch (1st Generation) all get a GREAT signal from our AE. BUT, our iPod Touch (2nd Generation) and new iPad (WiFi) get terrible signal strength unless we're right next to the AE!! Tech support at Apple is of no help! I'm ready to sell them all! This all started when we got the last OS update for iPod Touch/iPhone/iPad. So it must be a software issue not a hardware one..
Any ideas?
Maybe you are looking for
-
Dear Forum I was using Adobe version XI and the signature feature disappeared from the menu. Now I downloaded Acrobat Reader DC. Using the menu and instructions I created a signature ID and customized the signature; however, when I go to sign a docum
-
Laptop migration? From MSI Neo2 Platinum to ???
Hello folks. Long time no post. Although I have not been using my PC for heavy gaming or other intensive uses, no overclocking etc, so perhaps my feedback is not descriptive of anything out of the ordinary, in fact, less than ordinary, my setup has n
-
Best app for viewing pptx with embedded mp4 videos?
Hello, I have some large powerpoint presentations (25-500MB) that have some embedded videos in that I would like to view on my iPad3. The powerpoints are in .pptx format (MS Office 2010) and the videos are in .mp4 format. Can anyone suggest any apps
-
With the release of cs4 does anyone know how much longer they will still be running the cs3 exams, I have not long started to learn flash cs3 and want to sit the exam and need to know. Thanks
-
Friends, I am experiencing a problem when I perform the transfer of freight cost. The value of the service record that is generated is saved different value. What can this be? Thank you. Vladimir Haddad