ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » javax/jms/ExceptionListener

Post new topic  Reply to topic Goto page 1, 2  Next
 javax/jms/ExceptionListener « View previous topic :: View next topic » 
Author Message
brokerics
PostPosted: Sun Dec 11, 2005 10:55 pm    Post subject: javax/jms/ExceptionListener Reply with quote

Apprentice

Joined: 30 Oct 2005
Posts: 45

hello everyone

im tryin to start a jdbc adapter...but i get the foll problem..especially the last problem...classdefnotfound error..
i found that the exceptionlistener class is associated wit jms.jar file, so i tried to add it to the classpath,stil didnt work

[Version:4.3.0.0][TZ:Asia/Calcutta]
[Time: 2005/12/12 12:17:31.559] [System: ConnectorAgent] [SS: JDBC_X] [Thread: wbia_main (#683889076)] [Type: Info] [MsgID: 17000] [Mesg: Initialization started. Name: JDBC_X. ConfigFileName: C:\IBM\WebSphereAdapters\connectors\JDBC\JDBC_A\JDBC_X.cfg. Implementation DLL/Class Name: com.crossworlds.connectors.JDBC.JDBCConnectorAgent.class.]
[Time: 2005/12/12 12:17:31.569] [System: Server] [Thread: wbia_main (#683889076)] [Mesg: Privacy is NOT initialized. Reason: The privacy is NOT turned on.]
[Version:4.3.0.0][TZ:Asia/Calcutta]
[Time: 2005/12/12 12:17:31.959] [System: ConnectorAgent] [SS: JDBC_X] [Thread: wbia_main (#683889076)] [Type: Trace] [MsgID: 17016] [Mesg: Initializing connector JDBC_X, Version = 2.6.0, Connector Framework version = 4.3.0, CDK version = 4.3.0.]
[Time: 2005/12/12 12:17:31.969] [System: ConnectorAgent] [SS: JDBC_X] [Thread: wbia_main (#683889076)] [Type: Error] [MsgID: 33018] [Mesg: This is an internal error. A request was made that a client-socket-generatorgenerate a server socket.]
[Time: 2005/12/12 12:17:31.969] [System: ConnectorAgent] [SS: JDBC_X] [Thread: wbia_main (#683889076)] [Type: Internal Warning] [MsgID: 33027] [Mesg: No applicable transport-layer security context information was foundfor a requested ssl-protected socket. The request was made on behalfof component {1} of type {2}.]
[Time: 2005/12/12 12:17:57.307] [System: ConnectorAgent] [SS: JDBC_X] [Thread: wbia_main (#683889076)] [Type: Info] [MsgID: 17066] [Mesg: Application state is connected]
[Time: 2005/12/12 12:17:57.327] [System: Server] [Thread: wbia_main (#683889076)] [Mesg: java.lang.NoClassDefFoundError: javax/jms/ExceptionListener
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:147)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:474)
at java.net.URLClassLoader.access$500(URLClassLoader.java:108)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:846)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:389)
at java.net.URLClassLoader.findClass(URLClassLoader.java:370)
at java.lang.ClassLoader.loadClass(ClassLoader.java:562)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
at java.lang.ClassLoader.loadClass(ClassLoader.java:494)
at CxCommon.Messaging.ClientTransportManager.<init>(ClientTransportManager.java:192)
at CxCommon.Messaging.ClientTransportManager.<init>(ClientTransportManager.java:214)
at AppSide_Connector.AgentBusinessObjectManager.setupTransport(AgentBusinessObjectManager.java:321)
at AppSide_Connector.AgentBusinessObjectManager.<init>(AgentBusinessObjectManager.java:265)
at AppSide_Connector.AppEnd.run(AppEnd.java:1435)
at AppSide_Connector.AppEnd.init(AppEnd.java:362)
at AppSide_Connector.AppEnd.<init>(AppEnd.java:137)
at AppSide_Connector.AppEnd.main(AppEnd.java:1069)
at AppEndWrapper.main(AppEndWrapper.java:2
]



cud someone help me please?
Back to top
View user's profile Send private message
brokerics
PostPosted: Sun Dec 11, 2005 11:22 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2005
Posts: 45

i use message broker v5
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Dec 12, 2005 8:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

How did you add it to the classpath
What is your MQ_LIB pointed to
Back to top
View user's profile Send private message Send e-mail Visit poster's website
recallsunny
PostPosted: Mon Dec 12, 2005 1:20 pm    Post subject: Reply with quote

Disciple

Joined: 15 Jun 2005
Posts: 163
Location: Massachusetts

A generic pointer to a similar problem... Read thru the last few posts:
Back to top
View user's profile Send private message
brokerics
PostPosted: Tue Dec 13, 2005 3:09 am    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2005
Posts: 45

i got rid of the socket problem.

vennela... i set it in cmmand prompt using classpath variable (others are intact)

i did read throu those posts..but the classpath seems okay to me.

also...in the connector configurator.. when i try to save the file to the project...it says 'unable to connect to the WBI system manager'

what cud d prob be?
Back to top
View user's profile Send private message
sdng
PostPosted: Tue Dec 13, 2005 3:20 am    Post subject: Reply with quote

Acolyte

Joined: 23 Nov 2005
Posts: 53

as venella sad, may be problem in MQ_LIB variable value
_________________
Are you gangsters? No, we are Russians!
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Dec 13, 2005 3:23 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

brokerics, please don't DOUBLE POST ->
http://www.mqseries.net/phpBB2/viewtopic.php?t=25952&highlight=
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
brokerics
PostPosted: Tue Dec 13, 2005 4:06 am    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2005
Posts: 45

sorry there was initially no response at the other end..dats why...

how do i change the mq_lib? and to what?
Back to top
View user's profile Send private message
brokerics
PostPosted: Tue Dec 13, 2005 4:38 am    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2005
Posts: 45

currently my mq_lib is pointed to 'c:\progra~1\ibm\websph~2\java\lib'

where it shud it point to ?
Back to top
View user's profile Send private message
sdng
PostPosted: Tue Dec 13, 2005 6:22 am    Post subject: Reply with quote

Acolyte

Joined: 23 Nov 2005
Posts: 53

are there
com.ibm.mq.jar
com.ibm.mqbind.jar
com.ibm.mqjms.jar?

(libs for work with mq)
_________________
Are you gangsters? No, we are Russians!
Back to top
View user's profile Send private message
brokerics
PostPosted: Tue Dec 13, 2005 9:50 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2005
Posts: 45

yes, mq_lib points to a folder where all those jar files exist.
Back to top
View user's profile Send private message
brokerics
PostPosted: Wed Dec 14, 2005 1:26 am    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2005
Posts: 45

solved the problem..thanks for the help guys...

the links to the previous posts helped me...esp the inclusion of 'checkcp.exe' to the startup script helped me find out what jar files i needed.

now im tryin to take data from a database and put it on a queue . the connector is up and running. i created a trigger, to track changes in a particular table. the trigger causes an insert into a 'xworlds_events' table,which is the 'Eventtablename' given in the connector configuration . now dats the table that is polled by the adapter then.

if so, there should be a message on the delivery queue. but i dont see any.am i right with the concept here?
Back to top
View user's profile Send private message
recallsunny
PostPosted: Wed Dec 14, 2005 12:42 pm    Post subject: Reply with quote

Disciple

Joined: 15 Jun 2005
Posts: 163
Location: Massachusetts

Your concept is right, ideally the event should've been picked up by the adapter and delivered to the delivery queue.
Do you see any error in the Adapter logs./trace? Check the event table for the event_status, has it changed from 0 to a different status? Also verify the connector id,obj name etc, match your configuration.
Back to top
View user's profile Send private message
brokerics
PostPosted: Wed Dec 14, 2005 11:10 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2005
Posts: 45

hey sunny!

i think im gettin a glimpse of the error...my BO is actually 'JDBC_ADAPTEST'. but it is not being recognised/subscribed by the adapter, as is evident from the following log file :-

[Time: 2005/12/15 12:22:09.632] [System: ConnectorAgent] [SS: JDBC_X] [Thread: appPolling (#678548535)] [Type: Fatal Error] [MsgID: 20026] [Mesg: Unsubscribed event from application: Object Name:TEST, Verb: Create.]

[Time: 2005/12/15 12:36:34.017] [System: ConnectorAgent] [SS: JDBC_X] [Thread: wbia_main (#684020997)] [Type: Error] [MsgID: 36008] [Mesg: Could not free the connection.]

[Time: 2005/12/15 12:36:34.017] [System: ConnectorAgent] [SS: JDBC_X] [Thread: wbia_main (#684020997)] [Type: Info] [MsgID: 17066] [Mesg: Application state is disconnected]

object 'TEST' was my earlier BO..and thats tryin to be read.
cud the 2nd error "could not free the connection" be the problem?

i HAVE subscribed it in the 'supported business objects' in the connector configuration

why is it not gettin subscribed??
Back to top
View user's profile Send private message
sdng
PostPosted: Thu Dec 15, 2005 12:25 am    Post subject: Reply with quote

Acolyte

Joined: 23 Nov 2005
Posts: 53

to be presence in BO support in connector not mean to be subscribe
you need to have collab from this connector with regulation scenario for this event
_________________
Are you gangsters? No, we are Russians!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » javax/jms/ExceptionListener
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.