Concurrent Exception BEA-38****
Hi,
I have an Oracle Service Bus on a Weblogic 10.3.4, which maintains large number of exceptions associated with each in deployments
contant my exceptions, are repeated in each node OSB
[oracle@localhost 05112013]$ cat osb04.out | grep -c BEA-381502 * 2247
[oracle@localhost 05112013]$ cat osb04.out | grep -c BEA-382004 * 2247
[oracle@localhost 05112013]$ cat osb04.out | grep -c BEA-380003 * 2247
*** I have OSB JMS Reporting Provider, without initiating faults and not DataSource to SOAINFRA
Detailed Exception is :
BEA-380003
<Nov 4, 2013 12:39:41 PM GMT-03:00> <Error> <OSB Kernel> <BEA-380003> <Exception on TransportManagerImpl.receiveMessage, com.bea.wli.sb.pipeline.Pipe
lineException
com.bea.wli.sb.pipeline.PipelineException
at stages.transform.runtime.ErrorRuntimeStep.processMessage(ErrorRuntimeStep.java:38)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
at com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:141)
Truncated. see log file for complete stacktrace >
BEA-382004 (EnviarNotificacionesPendientesDWS is proxy service connnect to queue jms)
<Nov 4, 2013 12:43:21 PM GMT-03:00> <Error> <OSB Kernel> <BEA-382004> <Failed to process request message for service ProxyService PlataformaPago/NOTIFICACION/DOM/PX/EnviarNotificacionesPendientesDWS: com.bea.wli.sb.pipeline.PipelineException
com.bea.wli.sb.pipeline.PipelineException
at stages.transform.runtime.ErrorRuntimeStep.processMessage(ErrorRuntimeStep.java:38)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
at com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:141)
Truncated. see log file for complete stacktrace
>
BEA-381502
<Nov 4, 2013 12:39:39 PM GMT-03:00> <Error> <WliSbTransports> <BEA-381502> <Exception in JmsInboundMDB.onMessage: com.bea.wli.sb.transports.Transport
Exception: com.bea.wli.sb.pipeline.PipelineException
com.bea.wli.sb.transports.TransportException: com.bea.wli.sb.pipeline.PipelineException
at com.bea.wli.sb.transports.TransportException.newInstance(TransportException.java:216)
at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:390)
at com.bea.wli.sb.transports.jms.JmsInboundMDB.onMessage(JmsInboundMDB.java:132)
at sun.reflect.GeneratedMethodAccessor440.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Truncated. see log file for complete stacktrace
Caused By: com.bea.wli.sb.pipeline.PipelineException
at stages.transform.runtime.ErrorRuntimeStep.processMessage(ErrorRuntimeStep.java:38)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
at com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:141)
Truncated. see log file for complete stacktrace
>
If _WebsiteList and foundWebsites are in fact the same object, you can do this:
public void addWebsite(String url)
website foundWebsite = this.findWebsite(url);
if (foundWebsite == null)
website newWebsite = new website();
newWebsite.setURL(url);
synchronized (_WebsiteList) {
_WebsiteList.add(newWebsite);
public void populateTable()
_aProfile.getScheduler().startSearch();
Vector foundWebsites = _aProfile.getScheduler().getWebsites();
synchronized (foundWebsites) {
iter = foundWebsites.listIterator();
//loop around internal links on front page
while (iter.hasNext())
website tempWebsite = (website)iter.next();
_TableModel.addRow(this.createRow(tempWebsite.getURL()));
}
Similar Messages
-
Row concurrency exception not thrown for 1 page but others
All pages have the default of true for enableTokeValidation.
Edit a page -> Save -> Browser Back Button -> Click on Save button
For all but one of our pages, we will successfuly get the JboException for row concurrency is inconsistent, which is what we need/hope for.
The one page that does not give this exception is dedicated to "create" a person. After creation, it will navigate to a list name page. If back button is used and the user then click on the "Save" button on this new person page, ADF layer acutally tries to update the person for one field for the last created person. We are expecting the row concurrency exception.
I have check and read all the thread on back buttons. And the consistent of the entity/view object used by this one page versus the rest.
Note: All of our pages are using "redirect" navigation.
Thanks,
MelOne important different I should mention is that
- the new person page is using a different application module A than the rest
- all the other maintaining page is using application module B
Is this why? How to make it work?
Mel -
Xquery exception: BEA-382510
Experts,
I am facing this weird issue in OSB, the explanation for the issue is:
Whenever the mange instances gets overloaded or even some time when they are running fine, I get this exception BEA-382510 from the message flow.
There is no problem with any xqueries or xpath or namespace. Everything is fine.
The issue gets resolved when i restart the mange instances.
There is no particular pattern which i could trace for the occurence of the issue. It is random in nature.
This is happening sometimes even in production and i am unable to figure out the root cause.
It would be great if any expert can throw more light on this.
Regards,
Deepak.Hi,
I am getting the same issue on our OSB. Is there information about the reason of this issue? Any results of the investigation?
We are using Service Bus 11gR1. Using XQuery, transformation. I did few tests with a default xml messages, they failed with the same error. But the first time after editing and activating the service bus, the first message handled without error!!
The second attempt with the exact message result in error.
OSB Assign action failed updating variable "transformOutput":
com.bea.wli.common.xquery.XQueryException:
Error parsing XML: {bea-err}TYPE003: Runtime Type Mismatch
If you have any advice or the results of the investigation, will appreciate it.
thanks.
Regards,
B. Al Soufi -
SAMLServletAuthenticationFilter: Unexpected exception - BEA-090842
I am trying to configure SAM with Policy Agent 2.2 for Weblogic Portal 9.2.
I have configured an agent for a portal domain and able to get the Login page of SAM. But as soon as i provide the credintials it is giving be accessdenied page.
and i am able to find this error in the log file :
SAMLServletAuthenticationFilter: Unexpected exception - BEA-090842
Pls. someone let me know the probable error.I am trying to configure SAM with Policy Agent 2.2 for Weblogic Portal 9.2.
I have configured an agent for a portal domain and able to get the Login page of SAM. But as soon as i provide the credintials it is giving be accessdenied page.
and i am able to find this error in the log file :
SAMLServletAuthenticationFilter: Unexpected exception - BEA-090842
Pls. someone let me know the probable error. -
Updating table with column NUMBER(6,2) causing concurrency exception in .NE
For info,
I try to update a table with a column defined as a NUMBER(6,2). I receive a concurrency exception.
If I resize this column as a NUMBER(8,2), every thing works well.
ByeI get the same problem. Changing from anything less than number(8,2) changes the vb datatype from single to double.
Apparently ODP.NET cannot handle the single datatype.
/Bj� -
Optimistic Concurrency exception ALWAYS thrown when field set to "Fixed"
Hello,
I'm concerned that there is a bug in the ODP.net interaction with the Entity Framework for Optimistic Concurrency Checking.
I have a sequence field called tracker_id on a table that has a before insert trigger on it, which is updated to the next logical sequence number every time the record is updated. The tracker_id attribute in the object entity has had its "Concurrency Mode" set to "Fixed".
The problem is that irrespective of whether a record has been updated in another session or not, the optimistic concurrency exception is always thrown. Please see message below:-
"Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries."
code below
catch (OptimisticConcurrencyException ocex)
string message;
if (ocex.InnerException != null)
message = ocex.Message + "-" + ocex.InnerException.Message;
else
message = ocex.Message;
mm.ERRORCODE = "1";
mm.ERRORMESSAGE = "Record has been updated by another user - Full Message: " + message;
var poobject = ocex.StateEntries[0].Entity;
tasdb.Refresh(System.Data.Objects.RefreshMode.StoreWins, poobject);
tasdb.SaveChanges();
}I have tried disabling the trigger on the table, but it still does the above.
Many thanks in advance,
Graeme
Edited by: user4487499 on 09-May-2011 02:34The data for the newly created row doesn't get inserted into the database until the commit is executed, so the insert trigger isn't called.
If you need to get the value without committing, then you should implement the trigger programmatically and drop the trigger from the database. The code below shows how you could do this.
ViewObject insertVO = findViewObject("myView");
Row newRow = insertVO.createRow();
SequenceImpl seq = new SequenceImpl("MY_SEQ", insertVO.getDBTransaction());
Long next = (Long)seq.getData();
newRow.setAttribute("primaryAttribute", new Number(next));
...You will need to replace MY_SEQ and primaryAttribute with the correct values for your example, but this should acheive what you want. -
How to resolve this OSB Console Exception - BEA-494002 ?
Hi,
Im facing some problem while trying to see the Projects in the OSB Console. This is the exception I could see in the logs. We have deployed a new project on the server. We did ldap configuration for userids. Right after deployment we were able to view the projects tree. But now we are facing some problem.
Please advice. Thanks in Advance.
<gifosb_admin> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <system> <> <8beb4c4d69347bb8:-46bc7967:131d6e00ae4:-8000-00000000000003b0> <1313597978584> <BEA-494002> <Internal error occured in OSBConsole : Error in Building Projects tree
java.lang.Exception: Unable to retrieve project information from configuration service
at com.bea.alsb.console.projects.ProjectsHelper.getProjectsMetadata(ProjectsHelper.java:95)
at com.bea.alsb.console.projects.ProjectsHelper.getSortedProjectsMetadata(ProjectsHelper.java:70)
at jsp_servlet._jsp._projects.__projectstree$1ProjectsTree.getProjectsTreeNodes(__projectstree.java:172)
at jsp_servlet._jsp._projects.__projectstree._jspService(__projectstree.java:248)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:527)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:552)
at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:365)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
at jsp_servlet._framework._skeletons._wliconsole.__flowlayout._jspService(__flowlayout.java:271)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:529)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
at jsp_servlet._framework._skeletons._wliconsole.__gridlayout._jspService(__gridlayout.java:312)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:529)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.lang.RuntimeException: MBean not found. ObjectName: com.bea:Name=Config.XBus Kernel,Type=com.bea.wli.config.mbeans.ConfigMBean
at com.bea.alsb.console.support.ConsoleSideMBeanInvocationHandler.getMBean(ConsoleSideMBeanInvocationHandler.java:139)
at com.bea.alsb.console.support.ConsoleSideMBeanInvocationHandler.<init>(ConsoleSideMBeanInvocationHandler.java:64)
at com.bea.alsb.console.support.JMXHelper.getCustomMBean(JMXHelper.java:83)
at com.bea.alsb.console.support.JMXHelper.getConfigMBean(JMXHelper.java:438)
at com.bea.alsb.console.projects.ProjectsHelper.getProjectsMetadata(ProjectsHelper.java:91)
at com.bea.alsb.console.projects.ProjectsHelper.getSortedProjectsMetadata(ProjectsHelper.java:70)
at jsp_servlet._jsp._projects.__projectstree$1ProjectsTree.getProjectsTreeNodes(__projectstree.java:172)
at jsp_servlet._jsp._projects.__projectstree._jspService(__projectstree.java:248)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:527)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:552)
at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:365)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
at jsp_servlet._framework._skeletons._wliconsole.__flowlayout._jspService(__flowlayout.java:271)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:529)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
at jsp_servlet._framework._skeletons._wliconsole.__gridlayout._jspService(__gridlayout.java:312)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:529)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)Hi Anuj,
Thanks for your quick response.
We tried to restart the Admin Server and Managed Server Instances.
This is what we did -
1. Deployed a project on the server using OSB Console.
2. We have added a New Authentication Providers that performs LDAP Authenication.
Security > myrealm > Providers > Authentication
I could see these errors in the logs -
ExecuteThread: '65' for queue: 'weblogic.kernel.Default (self-tuning)'> <system> <> <8beb4c4d69347bb8:-19e99cc3:131bdb9900b:-8000-0000000000001ca3> <1313486764738> <BEA-494002> <Internal error occured in OSBConsole : [Security:090294]could not get connection
netscape.ldap.LDAPException: error result (32);
Also I could see the following error -
<[ACTIVE] ExecuteThread: '74' for queue: 'weblogic.kernel.Default (self-tuning)'> <system> <> <8beb4c4d69347bb8:-19e99cc3:131bdb9900b:-8000-0000000000001cad> <1313486800886> <BEA-423167> <An exception or error occurred in the backing file [com.bea.alsb.console.changemgmt.ChangeCenterBacking] while executing its preRender method. It was java.lang.IllegalStateException: Unable to get Configuration Session Manager
java.lang.IllegalStateException: Unable to get Configuration Session Manager
at com.bea.alsb.console.support.JMXHelper.sessionExists(JMXHelper.java:673)
Not sure why we are getting all the three errors which i posted so far.
Thanks in Advance.
- Vysh -
Exception BEA-101362 - .class deploy
I'm migrating from weblogic 10.3.2 to 10.3.5 and I am facing the following exception:
<28/12/2011 16h06min30s BRST> <Error> <HTTP> <BEA-101362> <[ServletContext@52932272[app:_appsdir_foo_ear module:ise path:/ise spec-version:2.5]] could not deserialize the servlet-context scoped attribute with name: "facelets.RECREATE_VALUE_EXPRESSION_ON_BUILD_BEFORE_RESTORE";
java.lang.NullPointerException
at weblogic.servlet.internal.AttributeWrapper.saveObjectClassLoaderInfo(AttributeWrapper.java:227)
at weblogic.servlet.internal.AttributeWrapper.convertBytesToObject(AttributeWrapper.java:112)
at weblogic.servlet.internal.ContextAttributeWrapper.getObject(ContextAttributeWrapper.java:53)
at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:60)
at weblogic.servlet.internal.AttributesMap.get(AttributesMap.java:108)
Truncated. see log file for complete stacktrace
It happens when I change any class (ManagedBeans) from the web context of a ear application.
To solve this problem I have to re-start my entire ear application (touching the REDEPLOY file).
That's too bad because in weblogic 10.3.2 I could change .class from web context with hot deploy!
Some suggestion to keep the same behavior in 10.3.5?
Thanks. Mauro.Hi,
I was unable to reproduced, I was suspecting a kind of "mismatch" with Java version.
In fact, I used WebLogic 11g. With this version of WebLogic it possible to perform the deployment (with that same *.ear file), but not possible with WebLogic 12c (hence, no cetified according to Oracle doc).
Kind Regards -
Concurrency exception because of number columns
Hi,
When fill a DataSet with Number columns that are not expressable by a double (whithin .NET), because of to much decimals behind the '.'
DataAdapter can't update this row when implementing optimistic concurrency:
UPDATE ... WHERE IDcol=idval AND ora_number_col=dotnet_double_val
Is there a way to arrange the different resolution without rounding functions in the where clause?
Thanks,
MichaelMichael,
Are you asking about this?
The ODP.NET OracleDataAdapter provides the Safe Type Mapping feature because the following Oracle datatypes can potentially lose data when converted to their closely related .NET type:
NUMBER
DATE
TimeStamp (refers to all TimeStamp objects)
INTERVAL DAY TO SECOND
Sinclair -
In the following code I consistently get an exception.
What is it that I don't understand about transactions??
There are perl scripts that also read the table every minute.
* Updates the ACUError tables with errors in the Message Map
* <p>Reads Message Map looking for messages in the Error State.
* <p>Deletes all entries in the Error table.
* Inserts new rows in the error table for each Entry the the Map
* with a state of error.
* @param mm
* Message Map Object
* @throws ACUtility.ACUException
void doError(ACUMesgMap mm) throws ACUException
boolean aException = true;
for ( int i = 0; i < 3 && aException; i++)
aException = false;
try{
if ( errorVO == null )
errorVO = am.findViewObject("ViewErrors1");
errorVO.executeQuery();
if (errorVO.hasNext())
while (errorVO.hasNext())
Row r = errorVO.next();
r.remove();
myTrans.commit();
java.util.Vector v = mm.getErrors();
if ( v.size() > 0 )
Iterator e = v.iterator();
while (e.hasNext())
ACUMsgMapEntry me = (ACUMsgMapEntry)e.next();
ViewErrorsRow r = (ViewErrorsRow)errorVO.createRow();
r.setAcuinstanceRi(new Integer((int)instance));
r.setErrorCount(new Integer(me.errorCount));
String theException = me.e.toString();
if ( theException.length() > 250 ) theException = theException.substring(0,250);
r.setException(theException);
r.setMid(me.msgID);
r.setState(me.state);
r.setThreadNumber(new Integer(me.threadNumber));
long lt = me.time.getTime();
java.sql.Timestamp t = new java.sql.Timestamp(lt);
oracle.jbo.domain.Date date = new oracle.jbo.domain.Date(t);
r.setTheTime(date);
errorVO.insertRow(r);
myTrans.commit();
} // end if new errors.
} catch (Exception e)
logFileA.print(3,"" + e);
aException = true;
} // end for
}ConcurrentModificationException gets generated if
one thread modifies a Collection while another thread is iterating over it. -
what does this mean when it happens at runtime error? I really appreciate any advice and help given.
Exception in thread "main" java.util.ConcurrentModificationException
at java.util.TreeMap$EntryIterator.nextEntry(TreeMap.java:1022)
at java.util.TreeMap$KeyIterator.next(TreeMap.java:1047)
at SoftwareHouse.addMenteeToMentor(SoftwareHouse.java:298)
at Application.run(Application.java:92)
at Main.main(Main.java:15)this seems to happen when i add in the line:
theStaff.remove(prog);damn :( thx guyz
i cant seem to find that happening in the code at all!
if(proceedattachment.equalsIgnoreCase("y"))
ConsoleIO.out.println("Attaching Mentee to Mentor (payrollnumber = " + mentorpn + ") ....\n\n");
anotherage = 0;
iter = theStaff.iterator();
while(iter.hasNext() == true)
mentor = (Programmer)iter.next();
mentorage = mentor.getAge();
getlang = mentor.getCertainLang();
if(menteeage < mentorage)
if(getlang.equals(thisproglang) && foundpn == true && mentorage >= anotherage)
details = mentor.toString();
foundMentor = true;
anotherage = mentorage;
mentorpn = mentor.getPayrollNumber();
iter = theStaff.iterator();
while(iter.hasNext() == true)
Programmer prog = (Programmer)iter.next();
mentorproglang = prog.getCertainLang();
mentorage = prog.getAge();
if(menteeage < mentorage)
if((mentorproglang.equals(thisproglang)) && (foundpn == true) && (mentorage >= anotherage))
anotherage = mentorage;
foundMentor = true;
mentorname = prog.getName();
mentorproglang = prog.getCertainLang();
mentorpn = prog.getPayrollNumber();
mentorage = prog.getAge();
mentoryob = year - mentorage;
mentorsal = prog.getMonthlySalary();
if(prog instanceof Mentor)
((Mentor)prog).addMentee(mentee);
else
theStaff.remove(prog); //HERE
Mentor mentormain = new Mentor(mentorname, mentorpn, mentorsal, mentoryob, mentorproglang);
theStaff.add(mentormain);
mentormain.addMentee(mentee);
ConsoleIO.out.println("\n\tMentor info: \n\n" + mentormain.toString());
mentortemp = prog;
removementorasprog = true;
ConsoleIO.out.println("\n\n\nSTAFF AFTER MENTEE ADDINGS:\n\n\n\n");
displayStaff();
else
ConsoleIO.out.println("Aborting from attaching mentor to mentee....\n\n");
else
ConsoleIO.out.println("Sorry no Mentor was found\n\n");
}i cant find the problem :( -
Exception in thread "main" bea.jolt.ServiceException: Service is not availa
Hi All,
I'm new to Tuxedo. I've installed tuxedo. I've deployed simpapp given as sample. It's c clients and server are working fine. Now I'm trying to use Java client for the same server. In my office I need to work with Tuxedo9.1 and JOLT. When I'm trying to run I'm getting problem. I'm not able to find any solution. Please help me. I'm giving entire work done by me as follows.
Problem in Running Java Client with Tuxedo.
My ASCII tuxconfig file details:
# (c) 2003 BEA Systems, Inc. All Rights Reserved.
#eident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"
#Skeleton UBBCONFIG file for the TUXEDO Simple Application.
#Replace the <bracketed> items with the appropriate values.
*RESOURCES
IPCKEY 123456
#Example:
#IPCKEY 123456
DOMAINID simpapp
MASTER simple
MAXACCESSERS 50
MAXSERVERS 30
MAXSERVICES 50
MODEL SHM
LDBAL N
*MACHINES
DEFAULT:
APPDIR="/shashi/mysimpleapp/simpapp"
TUXCONFIG="/shashi/mysimpleapp/simpapp/tuxconfig"
TUXDIR="/newutitux/newtux/tuxedo9.1"
#Example:
# APPDIR="/home/me/simpapp"
# TUXCONFIG="/home/me/simpapp/tuxconfig"
# TUXDIR="/usr/tuxedo"
systest LMID=simple MAXWSCLIENTS=4
#Example:
#beatux LMID=simple
*GROUPS
GROUP1
LMID=simple GRPNO=1 OPENINFO=NONE
JSLGROUP LMID=simple GRPNO=2 OPENINFO=NONE
JREPGROUP LMID=simple GRPNO=3 OPENINFO=NONE
*SERVERS
DEFAULT:
CLOPT="-A"
simpserv SRVGRP=GROUP1 SRVID=1
JSL SRVGRP=JSLGROUP SRVID=2
CLOPT=" -- -n //10.10.100.110:5000 -d /dev/tcp "
JREPSVR SRVGRP=JREPGROUP SRVID=4
CLOPT=" -- -W -P /shashi/mysimpleapp/simpapp/jrepository "
JRAD SRVGRP=JSLGROUP SRVID=3
CLOPT=" -- -l //10.10.100.110:5555 -c //10.10.100.110:5000 "
*SERVICES
TOUPPER
I've started the server using command tmboot -y.5 servers are started.
When I test using tmadmin command following is the output.
>psr
Prog Name Queue Name Grp Name ID RqDone Load Done Current Service
BBL 123456 simple 0 0 0 ( IDLE )
simpserv 00001.00001 GROUP1 1 0 0 ( IDLE )
JSL 00002.00002 JSLGROUP 2 0 0 ( IDLE )
JRAD 00002.00003 JSLGROUP 3 0 0 ( IDLE )
JREPSVR 00003.00004 JREPGRO+ 4 0 0 ( IDLE )
pscService Name Routine Name Prog Name Grp Name ID Machine # Done Status
TOUPPER TOUPPER simpserv GROUP1 1 simple 0 AVAIL
My Jrlyconfig file content is:-
LOGDIR=/shashi/mysimpleapp
ACCESS_LOG=access.log
ERROR_LOG=error.log
LISTEN=10.10.100.110:4444
CONNECT=10.10.100.110:5555
SOCKETTIMEOUT=30
and jrly is also running.
Content of jrepository file is:-
#!JOLT1.0^M
add SVC/TOUPPER:vs=1:ex=1:bt=STRING:\^M
bp:pn=STRING:pt=string:pf=167772161:pa=rw:ep:^M
add PKG/SIMPSERV:TOUPPER:^M
ULOG Message is:-
165446.systest!BBL.5691.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit, Patch Level (none)
165446.systest!BBL.5691.1.0: LIBTUX_CAT:262: INFO: Standard main starting
165446.systest!simpserv.5692.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
165446.systest!simpserv.5692.1.0: LIBTUX_CAT:262: INFO: Standard main starting
165446.systest!simpserv.5692.1.0: Welcome to the simple server
165446.systest!JSL.5693.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
165446.systest!JSL.5693.1.0: LIBTUX_CAT:262: INFO: Standard main starting
165446.systest!JSL.5693.1.0: INFO: JOLT Listener version-BEA Jolt 9.1
165446.systest!JSL.5693.1.0: JOLT_CAT:1563: "INFO: Serial Number : <454493271161-2664953090480>, Expiration Date : <None>"
165446.systest!JSL.5693.1.0: JOLT_CAT:1564: "INFO: Licensee : <Customer>"
165446.systest!JREPSVR.5694.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
165446.systest!JREPSVR.5694.1.0: LIBTUX_CAT:262: INFO: Standard main starting
165446.systest!JREPSVR.5694.1.0: Current version: BEA Jolt 9.1
165446.systest!JREPSVR.5694.1.0: Repository "/shashi/mysimpleapp/simpapp/jrepository" (2 records) is writable.
165446.systest!JRAD.5695.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
165446.systest!JRAD.5695.1.0: LIBTUX_CAT:262: INFO: Standard main starting
165446.systest!JRAD.5695.1.0: INFO: JRAD version-BEA Jolt 9.1
I don't find any problem in starting and running the system.
Problem faced:-
1.Repository Editor is connected to the system using port number given for jrly( i.e.. 4444) but it is giving an exception
"bea.jolt.ServiceException:Service is not available:.GETKEYS"
2.When trying to load bulk loader after setting jolt.jar and joltadmin.jar to the classpath it is giving the exception
java bea.jolt.admin.jbld //10.10.100.110:4444 services.txt
Exception in thread "main" bea.jolt.ServiceException: Service is not available:.GETKEYS
at bea.jolt.JoltRemoteService.init(JoltRemoteService.java:156)
at bea.jolt.JoltRemoteService.<init>(JoltRemoteService.java:112)
at bea.jolt.admin.JSvcPkgTbl.initTable(jbld.java:1010)
at bea.jolt.admin.JSvcPkgTbl.<init>(jbld.java:990)
at bea.jolt.admin.JBldDefRec.<init>(jbld.java:138)
at bea.jolt.admin.jbld.main(jbld.java:801)
Note:- I've tested on port number 5000 and file as jrepository also.The content of services.txt is as follows
service=TOUPPER
export=true
inbuf=STRING
outbuf=STRING
access=inout
3.While running the ToUpper.java given in sample it is giving the exception as follows.
"Exception in thread "main" bea.jolt.ServiceException: Service is not available:TOUPPER
at bea.jolt.JoltRemoteService.init(JoltRemoteService.java:156)
at bea.jolt.JoltRemoteService.<init>(JoltRemoteService.java:112)
at ToUpper.main(ToUpper.java:36)"
Content of ToUpper.java:-
/* Copyright 1996 BEA Systems, Inc. All Rights Reserved */
import bea.jolt.*;
public class ToUpper
public static void main (String[] args)
JoltSession session;
JoltSessionAttributes sattr;
JoltRemoteService toupper;
JoltTransaction trans;
String userName=null;
String userPassword=null;
String appPassword=null;
String userRole="myapp";
String outstr;
sattr = new JoltSessionAttributes();
sattr.setString(sattr.APPADDRESS, "//10.10.100.110:4444");
switch (sattr.checkAuthenticationLevel())
case JoltSessionAttributes.NOAUTH:
break;
case JoltSessionAttributes.APPASSWORD:
appPassword = "appPassword";
break;
case JoltSessionAttributes.USRPASSWORD:
userName = "myname";
userPassword = "mysecret";
appPassword = "appPassword";
break;
sattr.setInt(sattr.IDLETIMEOUT, 300);
session = new JoltSession(sattr, null, null,
null, null);
toupper = new JoltRemoteService ("TOUPPER", session);
toupper.setString("STRING", "hello world");
toupper.call(null);
outstr = toupper.getStringDef("STRING", null);
if (outstr != null)
System.out.println(outstr);
session.endSession();
System.exit(0);
} // end main
} // end ToUpper
Please help me. Thanks in Advance. Waiting for ASAP help.
Regards
Shashi RanjanHi,
As per your suggestion I'm again giving the detail of all the files which I'm using.
tmboot -y output:-
Booting all admin and server processes in /home/oracle/simaapp/tuxconfig
INFO: Oracle Tuxedo, Version 11.1.1.1.0, 32-bit, Patch Level (none)
Booting admin processes ...
exec BBL -A :
process id=6116 ... Started.
Booting server processes ...
exec TMUSREVT -- -f /home/oracle/simaapp/tmusrevt.dat :
process id=6117 ... Started.
exec simpserv -A :
process id=6118 ... Started.
exec JSL -- -n //station1.example.com:7000 -d /dev/tcp :
process id=6119 ... Started.
exec JREPSVR -- -W -P /home/oracle/simaapp/jrepository :
process id=6120 ... Started.
exec JRAD -- -l //station1.example.com:5555 -c //station1.example.com:7000 :
process id=6121 ... Started.
6 processes started.
TMUSREVT.ENV content:-
FIELDTBLS=Usysflds; export FIELDTBLS
FLDTBLDIR=$TUXDIR/udataobj; export FLDTBLDIR
FIELDTBLS32=jrep.f32; export FIELDTBLS32;
FLDTBLDIR=$TUXDIR/udataobj; export FLDTBLDIR;
tux.env content:-
TUXDIR=/u01/tuxedo/tuxedo11gR1; export TUXDIR
JAVA_HOME=$TUXDIR/jre; export JAVA_HOME
JVMLIBS=$JAVA_HOME/lib/i386/server:$JAVA_HOME/jre/bin
PATH=$TUXDIR/bin:$JAVA_HOME/bin:$PATH; export PATH
COBCPY=:$TUXDIR/cobinclude; export COBCPY
COBOPT="-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"; export COBOPT
SHLIB_PATH=$TUXDIR/lib:$JVMLIBS:$SHLIB_PATH; export SHLIB_PATH
LIBPATH=$TUXDIR/lib:$JVMLIBS:$LIBPATH; export LIBPATH
LD_LIBRARY_PATH=$TUXDIR/lib:$JVMLIBS:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
WEBJAVADIR=$TUXDIR/udataobj/webgui/java; export WEBJAVADIR
UBBCONFIG content:-
*RESOURCES
IPCKEY 78111
MASTER "station1"
UID 501
GID 501
PERM 0600
MAXACCESSERS 50
MAXACLGROUPS 16384
MAXGTT 100
DOMAINID "simpapp"
MAXGROUPS 100
MAXNETGROUPS 8
MAXMACHINES 256
MAXQUEUES 50
MAXDRT 0
MAXRFT 0
MAXRTDATA 4
MAXSPDATA 33924
MAXSERVERS 50
MAXSERVICES 100
MAXCONV 10
MODEL SHM
LDBAL Y
1,10 Top
CMTRET COMPLETE
MAXBUFTYPE 16
MAXBUFSTYPE 32
SCANUNIT 10
SANITYSCAN 12
DBBLWAIT 2
BBLQUERY 30
BLOCKTIME 6
NOTIFY DIPIN
SYSTEM_ACCESS FASTPATH
MAXINTERFACES 150
MAXOBJECTS 1000
SIGNATURE_AHEAD 3600
SIGNATURE_BEHIND 604800
USIGNAL SIGUSR2
*MACHINES
DEFAULT:
"station1.example.com" LMID="station1"
TUXCONFIG="/home/oracle/simaapp/tuxconfig"
TUXDIR="/u01/tuxedo/tuxedo11gR1"
APPDIR="/home/oracle/simaapp"
TLOGNAME="TLOG"
TLOGSIZE=100
CMPLIMIT="MAXLONG,MAXLONG"
NETLOAD=0
SPINCOUNT=0
MAXACLCACHE=100
MAXOBJECTS=1000
SICACHEENTRIESMAX="500"
MAXWSCLIENTS=4
*GROUPS
GROUP1
LMID=station1 GRPNO=1 OPENINFO=NONE
JSLGROUP LMID=station1 GRPNO=2 OPENINFO=NONE
JSRGROUP LMID=station1 GRPNO=3 OPENINFO=NONE
TMUGROUP LMID=station1 GRPNO=4 OPENINFO=NONE
TMUSREVTGROUP LMID=station1 GRPNO=5 OPENINFO=NONE
*NETGROUPS
*SERVERS
DEFAULT:
CLOPT="-A"
simpserv SRVGRP=GROUP1 SRVID=1
JSL SRVGRP=JSLGROUP SRVID=2
CLOPT=" -- -n //station1.example.com:7000 -d /dev/tcp "
JREPSVR SRVGRP=JSRGROUP SRVID=3
CLOPT=" -- -W -P /home/oracle/simaapp/jrepository "
JRAD SRVGRP=JSLGROUP SRVID=4
CLOPT=" -- -l //station1.example.com:5555 -c //station1.example.com:7000 "
TMUSREVT SRVGRP=TMUSREVTGROUP SRVID=5 GRACE=3600
ENVFILE="/home/oracle/simaapp/TMUSREVT.ENV"
CLOPT=" -- -f /home/oracle/simaapp/tmusrevt.dat "
SEQUENCE=11
*MODULES
*JDBCCONNPOOLS
*SERVICES
TOUPPER
LOAD=50 PRIO=50
BUFTYPE="ALL"
TRANTIME=30
AUTOTRAN=N
AFFINITYSCOPE=SERVER
*INTERFACES
*ROUTING
jrepository content:-
#!JOLT1.0
add SVC/TOUPPER:vs=1:ex=1:bt=STRING:\
bp:pn=STRING:pt=string:pf=167772161:pa=rw:ep:
add PKG/SIMPSERV:TOUPPER:
After exception the content of ULOG:-
175351.station1.example.com!BBL.6116.3086526144.0: 06-13-2010: client high water (0), total client (0)
175351.station1.example.com!BBL.6116.3086526144.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit, Patch Level (none)
175351.station1.example.com!BBL.6116.3086526144.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!TMUSREVT.6117.3086412000.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
175351.station1.example.com!TMUSREVT.6117.3086412000.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!simpserv.6118.3086706368.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
175351.station1.example.com!simpserv.6118.3086706368.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!simpserv.6118.3086706368.0: Welcome to the simple server
175351.station1.example.com!JSL.6119.3086870208.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
175351.station1.example.com!JSL.6119.3086870208.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!JSL.6119.3086870208.0: INFO: JOLT Listener version-Oracle Jolt 11.1.1.1.0
175351.station1.example.com!JREPSVR.6120.3086403264.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
175351.station1.example.com!JREPSVR.6120.3086403264.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!JREPSVR.6120.3086403264.0: Current version: Oracle Jolt 11.1.1.1.0
175351.station1.example.com!JREPSVR.6120.3086403264.0: Repository "/home/oracle/simaapp/jrepository" (2 records) is writable.
175351.station1.example.com!JRAD.6121.3086603968.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
175351.station1.example.com!JRAD.6121.3086603968.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!JRAD.6121.3086603968.0: INFO: JRAD version-Oracle Jolt 11.1.1.1.0
180656.station1.example.com!JRAD.6121.3086603968.0: JRAD_CAT:1526: INFO: JRLY connection is UP
180656.station1.example.com!JSH.6187.3086858464.-2: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
180656.station1.example.com!JSH.6187.3086858464.-2: JOLT_CAT:1030: "INFO: Jolt Handler joining application"
180656.station1.example.com!JSH.6187.3086858464.-2: INFO: JOLT Handler version-Oracle Jolt 11.1.1.1.0
180657.station1.example.com!JSH.6187.3086858464.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name 'oracle'; client name 'admin'"
Content of stderr:-
tpcall .GETREC failed: TPENOENT - no entry found
tpcall .GETREC failed: TPENOENT - no entry found
tpcall .GETREC failed: TPENOENT - no entry found
tpcall .GETREC failed: TPENOENT - no entry found
services.txt content
service=TOUPPER
export=true
inbuf=STRING
outbuf=STRING
access=inout
The content of jrlyconfig file:-
LOGDIR=/home/oracle/simaapp
ACCESS_LOG=access_log
ERROR_LOG=errorlog
LISTEN=station1.example.com:4444
CONNECT=station1.example.com:5555
then I'm running jrly -f jrlyconfig
The exception occurs when I run the command. "java bea.jolt.admin.jbld //station1:4444 services.txt"
Exception in thread "main" bea.jolt.ServiceException: Service is not available:.GETKEYS
at bea.jolt.JoltRemoteService.init(JoltRemoteService.java:156)
at bea.jolt.JoltRemoteService.<init>(JoltRemoteService.java:112)
at bea.jolt.admin.JSvcPkgTbl.initTable(jbld.java:1010)
at bea.jolt.admin.JSvcPkgTbl.<init>(jbld.java:990)
at bea.jolt.admin.JBldDefRec.<init>(jbld.java:138)
at bea.jolt.admin.jbld.main(jbld.java:801)
similarly when I'm trying to connect through RE.html
the exception is
bea.jolt.ServiceException: Service is not available:.GETKEYS
The output of command JREPSVR -v is
# List of services and corresponding handler functions built into the server
:ADDREC
:DELREC
:FLUSHCACHE
:GARBAGECOLLECT
.GETALL:GETALL
.GETKEYS:GETKEYS
.GETREC:GETREC
.GETSVC:GETSVC
:LOCKREP
.NUMRECS:NUMRECS
Regards,
Shashi Ranjan -
Multiple updates on dataset = concurrecny exception
I am getting concurrency exceptions whenever I try to update a dataset more than once. For example, if I fill a dataset, modify data, and then call the data.update method, it works fine. However, if I fill a dataset, modify data, call data.update, modify more data, and then call dataset.update again, I get a concurrency excetpion. I know that the table can be updated with no problem, and I do not get this problem on other data providers. It seems that ODP requires you to requery your dataset after each update, which doesn't seem correct to me. I tried requerying a dataset after each update and that does indeed work, but it seems unnecessary. A sample code snippet is below. Can someone let me know what I am missing.
In the snippet below, the "dataSet" variable is a dataset which has already been filled and one records has already been modified.
Dim command As New OracleCommand
command.Connection = connection
command.CommandText = sqlhelper.getStatement("evaluation", "update")
'first insert
adapter.TableMappings.Clear()
adapter.TableMappings.AddRange(sqlhelper.evaluation_table_mapping)
Dim cb As New OracleCommandBuilder(adapter)
adapter.SelectCommand = command
adapter.Update(dataSet, "egov_evaluation")
'2nd insert
'change some data
CType(dataSet.Tables(0).Rows(0), EvaluationDataSet.egov_evaluationRow).gov_agencies_attendees = "new test update"
adapter.TableMappings.Clear()
adapter.TableMappings.AddRange(sqlhelper.evaluation_table_mapping)
Dim newcb As New OracleCommandBuilder(adapter)
adapter.SelectCommand = command
adapter.Update(dataSet, "egov_evaluation")Followup:
This issue was caused by the SQL statement generated by the command builder. For those who haven't seen it yet, the command builder will generate a sql statement like "UPDATE <table> set <column1> = <value1>, <column2> = <value2> where <column1> = <orig column1 value> and <column2> = <orig column2 value>"
So if any of the fields don't match up in the where clause, you get the concurrency exception. We were getting stale data, and another issue caused by a bad query generated from the command builder, but this is worked around by writing our own update statements.
The only annoying thing is that our app doesn't care about concurrency, so we actually wanted to turn off the concurrency checking in the where clause, but, such is life. -
Bea.jolt.pool.ServiceException: TPETRAN - error starting transaction
I am ctreating the transaction object and try to operate PoolManager.call()
with the transaction object as parameter. The call fails with the following
exception:
bea.jolt.pool.ServiceException: TPETRAN - error starting transaction
at bea.jolt.pool.Connection.call(Connection.java, Compiled Code)
at bea.jolt.pool.SessionPool.call(SessionPool.java:412)
at bea.jolt.pool.SessionPool.call(SessionPool.java:211)
at
mcs.connectjolt.bandetails.BanDetailesDAO.getBanDetailes(BanDetailesDAO.java
:87)
at
mcs.connectjolt.bandetails.BanDetailsBean.getBanDetailes(BanDetailsBean.java
:68)
at
mcs.connectjolt.bandetails.BanDetailsBeanEOImpl.getBanDetailes(BanDetailsBea
nEOImpl.java:105)
at
mcs.connectjolt.bandetails.BanDetailsBeanEOImpl_WLSkel.invoke(BanDetailsBean
EOImpl_WLSkel.java:83)
at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
pter.java, Compiled Code)
at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
r.java:69)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
5)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
My configuration: WebLogic 5.1, Jolt 1.2, Tuxedo 6.4.I am ctreating the transaction object and try to operate PoolManager.call()
with the transaction object as parameter. The call fails with the following
exception:
bea.jolt.pool.ServiceException: TPETRAN - error starting transaction
at bea.jolt.pool.Connection.call(Connection.java, Compiled Code)
at bea.jolt.pool.SessionPool.call(SessionPool.java:412)
at bea.jolt.pool.SessionPool.call(SessionPool.java:211)
at
mcs.connectjolt.bandetails.BanDetailesDAO.getBanDetailes(BanDetailesDAO.java
:87)
at
mcs.connectjolt.bandetails.BanDetailsBean.getBanDetailes(BanDetailsBean.java
:68)
at
mcs.connectjolt.bandetails.BanDetailsBeanEOImpl.getBanDetailes(BanDetailsBea
nEOImpl.java:105)
at
mcs.connectjolt.bandetails.BanDetailsBeanEOImpl_WLSkel.invoke(BanDetailsBean
EOImpl_WLSkel.java:83)
at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
pter.java, Compiled Code)
at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
r.java:69)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
5)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
My configuration: WebLogic 5.1, Jolt 1.2, Tuxedo 6.4. -
Entity Framework ConCurrent Issue
Hi Everyone,
I need to build an application that will have concurrent users access MS SQL records. I'm using EF 4.3.1 and have an entity call "apps_SystemInfo and one of the properties is call "RowVersion" which of course is a "TimeStamp"
and is set to "Fixed" Concurrent Mode. I'm trying to simulate a scenario for a ConCurrent exception but for some reason it is not working. What I notice is that the second entity statment(ctx1) is being is being save but not the first(ctx).
Therefore SMTPPort is being set to 6000 on the sql record. I need to catch the concurrent exception and alert the user. Any help would be greatly appreciated.
private void UpdateSystemInfo()
using (AllocationEntities ctx = new AllocationEntities())
var d = (from c in ctx.apps_SystemInfo.Where(p => p.ID == 1)
select c).FirstOrDefault();
d.SMTPPort = 8000;
using (AllocationEntities ctx1 = new AllocationEntities())
var u = (from c in ctx.apps_SystemInfo.Where(p => p.ID == 1)
select c).FirstOrDefault();
u.SMTPPort = 6000;
ctx1.SaveChanges();
MessageBox.Show("Update inner update");
try
{ //This should trigger a ConcurrentException
ctx.SaveChanges();
MessageBox.Show("System infomation has been updated successfully", "Result");
catch (OptimisticConcurrencyException oCE)
MessageBox.Show(oCE.Message + " The record you're trying to update has change since you view it, the system will update your form with the changes", "ConCurrent Error!");
DisplaySystemInfo();
catch (Exception ex)
MessageBox.Show(ex.Message, "Exception Error");
Thanks
AnthonyGood catch by Olaf - in your inner loop you still refer to ctx instead of ctx1.
Also, I noticed a typo in the word 'information'.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles
Maybe you are looking for
-
Just upgraded to Mavericks and now Safari won't load pages
Hi, I just upgraded to OS X Mavericks 10.9.3 yesterday. Prior to downloading the new operating system Safari was working perfectly. After I finished downloading Mavericks I tried to open Safari but I have kept seeing a message, either the page was
-
Can I fetch files from Ideas more than once
I read that I can group ideas files into projects using folders after I had fetched files in Draw. Can I fetch ideas files again?
-
How to align the text in justify format with SQL Server Reporting Services?
How to align the text in justify format In SQL server Reporting Services? Is there any code to do so?
-
Help: set the list item when scrollbar scrolls
i need help regording how to set the listbox list item to be selected (i.e. item to be highlighted) when the vertical scrollbar scrolls.
-
Edge Animate - Sending To Then Getting Response From Server (XML)
Hi, I'm very new to Edge animate, and I'm trying to send some things to a server, which would send a response back. XML. I'm trying: jQuery.ajax({ type: "POST", datatype: "xml", url: "http://www.pandorabots.com/pandora/talk-xml", data