bhaskar bolo

Greenhorn
+ Follow
since Jul 28, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 bhaskar bolo

Hi,
I am running my ejb application, I got below error, can any one please help
Thanks
Bhaskar

ERROR ZoneInitialMessageBean - EJB Exception: ; nested exception is: javax.ejb.EJBException: Error committing transaction:: javax.transaction.HeuristicMixedException: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Connection has been administratively destroyed. Reconnect.))
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:298)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:227)
at weblogic.ejb.container.internal.BaseEJBLocalHome.postHomeInvoke(BaseEJBLocalHome.java:250)
at weblogic.ejb.container.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:228)
at weblogic.ejb.container.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:179)
at com.timeamerica.nettimej.ejb.zones.XMLZoneMessage_wsr80y_LocalHomeImpl.create(XMLZoneMessage_wsr80y_LocalHomeImpl.java:73)
at com.timeamerica.nettimej.ejb.session.updates.ZoneUpdatesSessionBean.updateXmlNZoneXmlMsgs(ZoneUpdatesSessionBean.java:2368)
at com.timeamerica.nettimej.ejb.session.updates.ZoneUpdatesSessionBean.generateInitialUserUpdateMsgs(ZoneUpdatesSessionBean.java:815)
at com.timeamerica.nettimej.ejb.session.updates.ZoneUpdatesSession_w5locg_ELOImpl.generateInitialUserUpdateMsgs(ZoneUpdatesSession_w5locg_ELOImpl.java:1940)
at com.timeamerica.nettimej.mdb.clocks.ZoneInitialMessageBean.onMessage(ZoneInitialMessageBean.java:122)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:291)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3962)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
; nested exception is: javax.transaction.HeuristicMixedException: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Connection has been administratively destroyed. Reconnect.))
Hi,

can any one please help me to, How to configure external tibco ems queue in weblogic server.

Thanks in Advance
Bhaskar
Hi,

I want to some piece of code upload file into some weblogic server location.

can any one help please

Thanks in advance
Bhaskar
Hi,

After transferring and deploying the ear file in weblogic i got below error.

Error 503--Service Unavailable

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.4 503 Service Unavailable

The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.

Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.

Can any one help me please?

Thanks in Advance.
Bhaskar


Hi,
I am using jdk1.6 and tomcat 5.5. While i am running the Spring web mvc application I got below Exception. Can any one help please

Thanks
Bhaskar


javax.servlet.ServletException: Servlet.init() for servlet ds threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
root cause

java.lang.NoSuchMethodError: org.springframework.beans.factory.config.ConfigurableListableBeanFactory.registerResolvableDependency(Ljava/lang/Class;Ljava/lang/Object;)V
org.springframework.context.support.AbstractApplicationContext.prepareBeanFactory(AbstractApplicationContext.java:446)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:341)
org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:331)
org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:265)
org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:235)
org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

Apache Tomcat/5.5.17

Hi,

can you please any one answer the following question.

How to retrieve the multiple groups of radio button values using jsp.

Thanks in advance
Bhaskar
Hi,

In my xlsx contain sevaral columns with blanks.I want to retrive all columns including blanks using Xssf. while retriving all columns of xlsx the blank cols are not retrive.

can you please suggest to how to retrive blank cols.


Thanks &Regards
Bhaskar
Hi,

can any one please tel me how to retrive Blank column.


Thanks
Bhaskar
Hi,

How to get column count Using XSSF POI. Can any one help please. Its very urgent.

Thanks in Advance.

Bhaskar
Hi,

I am uploading multiple files using org.apache.commons.fileupload.servlet.ServletFileUpload type. When I uploading multiplefiles I got to following Exception. Can any body please help.

Unable to compile class for JSP

Generated servlet error:
Only a type can be imported. org.apache.commons.fileupload.servlet.ServletFileUpload resolves to a package

Generated servlet error:
Only a type can be imported. org.apache.commons.fileupload.disk.DiskFileItemFactory resolves to a package

An error occurred at line: 10 in the jsp file: /multi.jsp
Generated servlet error:
ServletFileUpload cannot be resolved

An error occurred at line: 10 in the jsp file: /multi.jsp
Generated servlet error:
FileItemFactory cannot be resolved to a type

An error occurred at line: 10 in the jsp file: /multi.jsp
Generated servlet error:
DiskFileItemFactory cannot be resolved to a type

An error occurred at line: 10 in the jsp file: /multi.jsp
Generated servlet error:
ServletFileUpload cannot be resolved to a type

An error occurred at line: 10 in the jsp file: /multi.jsp
Generated servlet error:
ServletFileUpload cannot be resolved to a type

An error occurred at line: 10 in the jsp file: /multi.jsp
Generated servlet error:
FileUploadException cannot be resolved to a type

An error occurred at line: 10 in the jsp file: /multi.jsp
Generated servlet error:
e cannot be resolved

An error occurred at line: 10 in the jsp file: /multi.jsp
Generated servlet error:
FileItem cannot be resolved to a type

An error occurred at line: 10 in the jsp file: /multi.jsp
Generated servlet error:
FileItem cannot be resolved to a type


at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)

Thanks &Regards
Bhaskar
10 years ago
JSP
Thank you Spoor. I got it. I Realy enjoy with your help . I have one more doubt. In my xlsx contain many columns of integer and strings can you please tel me to how to retrive Integers


Thanks

Bhaskar
10 years ago
Hi

I am reading the data from xlsx using poi. While reading the Data from xlsx I got Exception in very beginig statement. The exception is in below. Can you please any one help me. Its very urgent.

Exception in thread "main" org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException
at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:61)
at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:256)
at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:196)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:179)
at ReadXLSX.main(ReadXLSX.java:25)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:59)
... 4 more
Caused by: java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
at java.lang.Class.getMethod0(Class.java:2611)
at java.lang.Class.getMethod(Class.java:1579)
at org.apache.xmlbeans.XmlBeans.buildMethod(XmlBeans.java:174)
at org.apache.xmlbeans.XmlBeans.buildNodeMethod(XmlBeans.java:195)
at org.apache.xmlbeans.XmlBeans.buildNodeToCursorMethod(XmlBeans.java:232)
at org.apache.xmlbeans.XmlBeans.<clinit>(XmlBeans.java:131)
at org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument$Factory.parse(Unknown Source)
at org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:102)
at org.apache.poi.xssf.model.StylesTable.<init>(StylesTable.java:91)
... 9 more


Thanks in Advance

Bhaskar


10 years ago