Win a copy of Java by Comparison (eBook) this week in the Java in General forum!

chiku awasthi

Greenhorn
+ Follow
since Mar 19, 2008
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 chiku awasthi

Thanks for pointing me in right direction :), all I am getting in the error page (when invoked after an exception is thrown) is simple text, none of the properties included in the tag libs are working,
example <security:authentication> or <c:if> or even CSS formatting, but when I access the page directly all the tags and css formatting is getting evaluated correctly.

Thanks.
5 years ago
JSP
Hi,
I am facing a problem where taglibs are not working in error page, if the error page is accessed directly from browser it is displayed correctly,
but when it is executed due to an exception none of the laglibs are executed. Any help in this regard will be very much appreciated.

Thanks,
Shrey
5 years ago
JSP
yes there could be persisted house design , but could be very basic or abstract , not necessarily complete.

The whole idea of having houses composed of components does not hold good if you have house persisted.
Also concept of design ( abstract/incomplete house ) does not hold if you start persisting houses , it all depends on
your perception of domain model , as not to persist house is not explicitly stated in the assignment you can persist
house design.

Regards,
Chiku
Hi,
If components are taken seperately from a component catalogue (let's say) it's not guaranteed that a component will fit into all the house designs .
For instance you can't fit a swiming pool or garage into an appartment house design .

Regards,
Chiku.
Hi ,
Can anyone please help me with this problem , I am stuck with this issue for some time now .

Regards,
Chiku
Hi,
We are facing a strange problem that JMS correlation ID is getting overridden when the message arrives at the queue .
The application is setting correlation ID to correct value i.e. message ID of incoming message which is clearly visible in logs .
Can any one please suggest on what can possibly be wrong ?

Regards,
Chiku
Hi ,
I am not able to set <Msd> property in the <mcd> header from JMS , We have tried setting this with setStringProperty
in the message but it adds the property to <use> folder instead of <Msd> folder .
Can somebody please suggest on how this can be set from JMS client .

Thanks and Regards,
Chiku
7 years ago
Hi,
I have a requirement where error information needs to be added to a message in case if there are any error in message processing .
In case of errors I am rolling back the transaction and understand that due to this the message cannot be modified .
so I tried to make the changes in the message in a method which has transaction attribute as NOT_SUPPORTED , as this should suspend the transaction
and allow changes in the message .
However I get below exception while trying to do this .

javax.jms.MessageNotWriteableException: MQJMS0008: JMS Client attempts to write a read-only message
at com.ibm.jms.JMSMessage.newMessageNotWriteableException(JMSMessage.java:5055)
at com.ibm.jms.JMSMessage.setStringProperty(JMSMessage.java:6148)
at com.bskyb.finance.api.EJB.mdbs.APIFFMessageRouterMDBBean.updateHeaderAttributes(APIFFMessageRouterMDBBean.java:159)
at com.bskyb.finance.api.EJB.mdbs.APIFFMessageRouterMDBBean.onMessage(APIFFMessageRouterMDBBean.java:121)
at com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDBWrapper.java:302)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
at com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.java:271)
at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:240)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1695)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:975)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:987)
at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:675)
at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:642)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessionDispatcher.java:37)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:96)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:500)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)

I could not figure out any property named readOnly in ByteMessage , not sure if the approach I have taken is correct , may be I have missed some
basic stuff .
Please help .

Thanks and Regards,
Chiku
7 years ago
Thanks Deepak , I am able to log in but unable to see my scores , will I get the scores with the certification pack ? or marks will not
be communicated , only grade will be displayed .

Regards,
Chiku
Hi Ranchers,
Just got a mail from Oracle that I have passes SCEA . Thanks to all the ranchers , it would not have been possible without your support .
Would like to thank Dmitri Ericsson for wonderful post about part 2 and 3 which helped me a lot during preparation .

Need some more help , the mail from Oracle says I can get my results from http://www.certmanager.net/sun , but t I am unable to log into my account .
The mail says "You will need your official score report the first time you log on" , can some one tell from where can I get the score report .

Thanks and Regards,
Chiku
Hi,
I am getting below error while getting the connection from data sources which are retrieved from JNDI searches .

05-Jul-2010 13:30:42 com.ibm.ws.rsadapter.spi.InternalOracle11gDataStoreHelper
INFO: ojdbc5.jar must be used when configuring to run with 11g database in this application server release.
java.sql.SQLException: Invalid argument(s) in callDSRA0010E: SQL State = 99999, Error Code = 17,068
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:261)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:269)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:490)
at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:97)
at com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper$1.run(InternalGenericDataStoreHelper.java:918)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper.getPooledConnection(InternalGenericDataStoreHelper.java:955)
at com.ibm.ws.rsadapter.spi.WSRdbDataSource.getPooledConnection(WSRdbDataSource.java:1437)
at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:1089)
at com.ibm.ws.rsadapter.spi.WSDefaultConnectionManagerImpl.allocateConnection(WSDefaultConnectionManagerImpl.java:81)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:439)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:408)
at com.bskyb.finance.workbench.dataaccess.DataSourceManager.loadDBFromJNDI(DataSourceManager.java:289)
at com.bskyb.finance.workbench.dataaccess.DataSourceManager.loadDataSourceFromJNDI(DataSourceManager.java:226)
at com.bskyb.finance.workbench.dataaccess.DataSourceManager.<init>(DataSourceManager.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at com.bskyb.finance.workbench.cat.WorkbenchCATBase.getObject(WorkbenchCATBase.java:187)
at com.bskyb.finance.workbench.cat.CreditCardsCAT.<clinit>(CreditCardsCAT.java:32)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)


When I test connection at server it works fine , also if I pass user id and password to the data source while getting te connection , there is no error .

I have spent two on trying to resolve this error , please help .

Thanks and Regards,
Chiku
7 years ago
Hi,
Congrats .
I have appeared for part 3 yesterday and yet to upload assignment . I got a reply from Oracle that part 3 needs to be given first and assignment has to e mailed to them . But the print out which I received from prometric after the exam says the assignment should be uploaded before giving the exam .
Can you please let me know if you have emailed assignment before taking part 3 or after wards .

Regards,
Chiku
Hi,
I am using STAR UML to draw UML diagrams , but it is not UML 2.0 compliant and I am struggling to draw component
diagrams using it .
Please suggest any free UML tool which supports UML 2.0 .

Thanks and Regards,
Chiku
It is like a microsoft excel application which can be used for some calculations .
7 years ago
The desktop application is a old swing application which than manages its own authentication and authorisation .
7 years ago