nan priya

Greenhorn
+ Follow
since May 04, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by nan priya

try with IP address instead of DNS
16 years ago
Hi Cameron

The above mentioned error happens while server start,after that when i try to access the appliccation it shows

"COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2] SQL30108N A connection failed but has been re-established" with the neseted exception.
16 years ago
Thanks Cameron,

I have created 3 datasources pointing to diff db instances.earlier it worked fine, now the other two are working fine.we have the same setup in dev,qa, it all works fine.Even other user's RAD working fine the the same connection.
the driver type i am using id CLI based type 2 driver.
RAD version 6.0.1
Server 6.0


Thanks
16 years ago
Hi
I am using RAD with WAS 6.0, while trying to initiate db2 connection , i am getting the following error.

[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R java.lang.NullPointerException
at com.ibm.ejs.j2c.J2CXAResourceInfo.recoverWhenServerStarted(J2CXAResourceInfo.java:620)
at com.ibm.ws.Transaction.JTA.XARecoveryData.canProceed(XARecoveryData.java:1103)
at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:560)
at com.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:512)
at com.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1804)
at com.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2394)
at java.lang.Thread.run(Thread.java:568)

[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ejs.j2c.J2CXAResourceInfo.recoverWhenServerStarted(J2CXAResourceInfo.java:620)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ws.Transaction.JTA.XARecoveryData.canProceed(XARecoveryData.java:1103)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:560)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:512)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1804)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at com.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2394)
[9/24/07 10:52:36:231 EDT] 0000001b SystemErr R at java.lang.Thread.run(Thread.java:568)


thanks in advance
16 years ago
Hi

I have been using RAD6.0.1 verison and it has WAS6 app server.I have installed Websphere MQ 6.0 client. my project need to be configured with Queue connections.but i am getting the below error. i tried so many options by pointing to different verison coming with MQ / WAS server of mq.jar/mqjms.jar. but nothing works out.

java.lang.NoClassDefFoundError: com/ibm/mq/server/MQSESSION at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:70) at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:523) at com.ibm.mq.MQManagedConnectionJ11.(MQManagedConnectionJ11.java:177) at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:179) at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:215) at com.ibm.mq.StoredManagedConnection.(StoredManagedConnection.java:84) at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:168) at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:773) at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:698) at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:658) at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:154) at com.ibm.mq.MQQueueManager.(MQQueueManager.java:527)

I looked at various forums for solution,but nothing works.
Looking forward your help.Thanks in Advance.
16 years ago
the below is from WAS 6.0 - but i assume , for 5 also the same.


Application servers > server1 > Process Definition > Java Virtual Machine
17 years ago
The application file specified is not a valid jar or war. ensure that your war is fit to deploy in WASD.it requires dependecy files pertaining to WAS, so that the deployer can understand that its a jar etc..
17 years ago
your ear will have to undergo some changes like edit the .websettings file and remove the old <lib-module> etc,. also check that your ear is compliance to WAS
17 years ago
try the below.also make sure that you have required jars in classpath

Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.ibm.websphere.naming.WsnInitialContextFactory");
env.put(Context.PROVIDER_URL, "iiop://localhost:2809");
try {
initialContext = new InitialContext(env);
17 years ago
hi,
i am testing mdb with a standalone client,
i could not get QueueconnectionFactory from context, i get only ConnectionFactory context. please the code .. i am using RAD

Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory");
env.put(Context.PROVIDER_URL,"iiop://localhost:2809");
ic = new InitialContext(env);
System.out.println("Context :"+ic);

ConnectionFactory qcf = (ConnectionFactory)ic.lookup("jms/ava.prov.eps_QCF");
System.out.println("--qcf---------"+qcf);
javax.jms.Connection qConnection = (javax.jms.Connection)qcf.createConnection();
System.out.println("--qConnection-"+qConnection);
javax.jms.Session qSession = (Session)qConnection.createSession(false,Session.AUTO_ACKNOWLEDGE);
System.out.println("--qSession---"+qSession);
please read RFC1459 from ietf on IRC
15:58:56,062 INFO [STDOUT] Hibernate: select hibernate_sequence.nextval from dual
15:58:56,250 INFO [STDOUT] Hibernate: select hibernate_sequence.nextval from dual
15:59:13,015 INFO [STDOUT] Hibernate: insert into tusr (USR_LGN_ID, USR_ROLE_ID, LST_LGN_TS, USR_ADD_INF, CRTD_TS, CRTD_USR, UPDT_TS, UPDT_USR, USR_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
15:59:13,015 INFO [STDOUT] Hibernate: insert into tusrdtl (USR_FST_NM, USR_MDL_NM, USR_LST_NM, USR_DOB, USR_PWD, USR_LST_PWD_CHNG_TS, USR_PWD_CHNG_FREQ, CRTD_TS, CRTD_USR, UPDT_TS, UPDT_USR, USR_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
15:59:13,156 WARN [JDBCExceptionReporter] SQL Error: 2291, SQLState: 23000
15:59:13,156 ERROR [JDBCExceptionReporter] ORA-02291: integrity constraint (ATSUSER.TUSRDTL_TUSR_FK1) violated - parent key not found

15:59:13,156 WARN [JDBCExceptionReporter] SQL Error: 2291, SQLState: 23000
15:59:13,156 ERROR [JDBCExceptionReporter] ORA-02291: integrity constraint (ATSUSER.TUSRDTL_TUSR_FK1) violated - parent key not found

15:59:13,156 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:249)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:515)
at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1491)
at org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1110)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:324)
at org.jboss.tm.TxManager.commit(TxManager.java:240)
at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:263)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:398)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
Caused by: java.sql.BatchUpdateException: ORA-02291: integrity constraint (ATSUSER.TUSRDTL_TUSR_FK1) violated - parent key not found

at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10657)
at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:519)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
... 34 more
17 years ago
Hi
i am trying websphere6.1 and need ejb3 and webservices [simple ] code base to test and view. pl let me know any url or samples available..
thanks in advance

priya
17 years ago
hi all,
i tried to modify a class level static vaiable via method.the method is non static and the change reflects in the method call as well striaght call in the method.! pl let me know the reason..
17 years ago
hi,shortly i am going for h1b visa stamping in chennai india.2001 also i got but did not visit US due to market conditions. if they ask abt this what to say in interview..
pl let me know some good reasons/answers

thanks in advance.
17 years ago