Cannot invoke method "setMessageListener" within the J2EE container.
I use TopicSubscriber.setMessageListener method to convert messages to my own type, but oc4j jms throws following exception:
javax.jms.JMSException: TopicSubscriber[Oc4jJMS.Consumer.ypchang-cn.12da4a6:111d4f12137:-8000.94,Topic[CreatedSponsorTopic],null,null,false]: cannot invoke method "setMessageListener" within the J2EE container.
at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1072)
at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1152)
at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1123)
at com.evermind.server.jms.JMSUtils.assertNotContainer(JMSUtils.java:1538)
at com.evermind.server.jms.EvermindMessageConsumer.setMessageListener(EvermindMessageConsumer.java:217)
at com.firepond.bcmf.bus.BusSubscriberImpl.setMessageListener(BusSubscriberImpl.java:397)
OC4J JMS doesn't support user defined MessageListener?????!!!!!!!!!!
Who can help me out?
Thanks!
Hi,
I am facing the same problem did you got any solution for it.
I am getting the following error message too:
Exception in Constructor
javax.jms.JMSException: QueueReceiver[Oc4jJMS.Consumer.ssipl-wrkst-139.-7dd2dd24:1122873d95f:-8000.269,Queue[360Transaction]]: cannot invoke method "setMessageListener" within the J2EE container.
at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1072)
at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1152)
at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1123)
at com.evermind.server.jms.JMSUtils.assertNotContainer(JMSUtils.java:1538)
at com.evermind.server.jms.EvermindMessageConsumer.setMessageListener(EvermindMessageConsumer.java:217)
at com.skillnetinc.storehub.connector.pos.publisher.ejb.publishTransactionWithSalesAudit.PublishTransactionWithSalesAuditBean.<init>(PublishTransactionWithSalesAuditBean.java:94)
at PublishTransactionWithSalesAuditBean_RemoteProxy_1dpbn83.OC4J_createBeanInstance(Unknown Source)
at com.evermind.server.ejb.StatelessSessionBeanPool.createContextImpl(StatelessSessionBeanPool.java:37)
at com.evermind.server.ejb.BeanPool.createContext(BeanPool.java:418)
at com.evermind.server.ejb.BeanPool.allocateContext(BeanPool.java:244)
at com.evermind.server.ejb.StatelessSessionEJBHome.getContextInstance(StatelessSessionEJBHome.java:25)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
at PublishTransactionWithSalesAuditBean_RemoteProxy_1dpbn83.invoke(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Similar Messages
-
Cannot invoke method multiply() on null object
Hi ,
when im trying to follow Developing Rich Web Applications With Oracle ADF tutorial in this link http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_3.html
and in the part ( Add CRUD Operation Components to your Page ) when pressing the CreateInsert i got the error message Cannot invoke method multiply() on null object ,
the logs as below
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Cannot invoke method multiply() on null object
java.lang.NullPointerException: Cannot invoke method multiply() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:750)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:727)
at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:17)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at bc4j_model_EmpDetails_AnnualSalary_null_gs.run(bc4j_model_EmpDetails_AnnualSalary_null_gs.groovy:1)
at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1200)
at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1253)
at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1075)
at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2131)
at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1827)
at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1962)
at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:824)
at oracle.jbo.server.ViewRowImpl.getAttrInvokeAccessor(ViewRowImpl.java:906)
at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:854)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1213)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:764)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValueInRow(JUCtrlValueBinding.java:3004)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2852)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2841)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getInputValue(FacesCtrlAttrsBinding.java:183)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2416)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:275)
at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at com.sun.el.parser.AstValue.getValue(Unknown Source)
at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:184)
at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderContentStyleAttributes(SimpleInputBaseRenderer.java:512)
at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderNonElementContent(SimpleInputBaseRenderer.java:397)
at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsNonElement(FormInputRenderer.java:300)
at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:160)
at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1700)
at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:228)
at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.renderFieldCell(LabelLayoutRenderer.java:528)
at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:305)
at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:215)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1088)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:50)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1604)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1523)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:420)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:208)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:447)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1500(PanelGroupLayoutRenderer.java:30)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:734)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:637)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:360)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:440)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:704)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:380)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:440)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:704)
at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:380)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:879)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1294)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:351)
at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:316)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1277)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655)
at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)
at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1027)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
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.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Cannot invoke method multiply() on null object
any help please ?Thanks Frank ,
really i've already downloaded the ZIP of the final application , but the same error message ,
when removing the Annual salary ( Which is a new Attribute ( not DB column) Salary * 12 ) every think is fine and no more error message ,there is no null salary all the employees have a salary , my JDeveloper Version is 11.1.2.1.0
also , because of the EmpDetails is based on the query
FROM EMPLOYEES Employees, DEPARTMENTS Departments
WHERE Employees.DEPARTMENT_ID = Departments.DEPARTMENT_ID
and the Department id is non editable value , that means even if you add a new user u cant never check this user in this interface , u can check this user only on DB (SQL) level .
Edited by: 876602 on Jul 1, 2012 5:17 AM -
Initial admin's passsword if you install only the J2EE Container
Anyone knows the initial admin's passsword if you install only the J2EE Container alone (of the Oracle9i AS)
Thanks in advanceHi,
Try to perform a clean boot then install the CRM 2013 for Microsoft Office Outlook.
To perform a clean boot:
Log on to the computer by using an account that has administrator rights.
Click Start, type msconfig.exe in the Start Search box, and then press Enter to start the System Configuration utility.
Note If you are prompted for an administrator password or for confirmation, you should type the password or provide confirmation.
Collapse this imageExpand this image
On the General tab, click the Selective startup
option, and then click to clear the Load startup items check box. (The
Use Original Boot.ini check box is unavailable.)
Collapse this imageExpand this image
On the Services tab, click to select the Hide all Microsoft services check box, and then click
Disable all.
Collapse this imageExpand this image
Note This step lets Microsoft services continue to run. These services include Networking, Plug and Play, Event Logging, Error Reporting, and other services. If you disable these services, you may permanently delete all restore points. Do not
do this if you want to use the System Restore utility together with existing restore points.
Click OK, and then click Restart.
This way we can eliminate the affect by background programs, install the software to see if the error still occurs.
If the issue persists in clean boot, please collect the Setup log files from this path:
SystemDrive:\Users\<User>\AppData\Local\Microsoft\MSCRM\Logs
Send the logs to our email address for further analysis:
[email protected]
Regards,
Melon Chen
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Cannot edit text sufficiently within the Photo E-mail service (Elements 11)
Greetings to all, a little help required please....
Just purchased Elements 11 - excellent product at the price and am having a great deal of fun using it.
One frustrating flaw within the Photo E-mail service....
I've been using the Adobe e-mail service and it sends e-mail just fine having set up the account as required.
Each new e-mail appears with the text "Here are the files I want to share with you."
Now I'd like to replace that with some different text. I can delete it and replace it on the first editing page, and it stays there after I click 'Next' to the following 'Customise Layout' section.
Clicking on 'Next' after this page, we have the final e-mail page, and the text has reverted back to 'Here are the files I want to share with you' again......
I can delete it again, but cannot type in any further text anywhere on that screen.
Any help on this??
Shame, because the programme generally is superb. Have transformed a number of pics already, and it would be nice to use the e-mail prog that's built in as I'd like to use it, adding text as required. Otherwise, why have all the font and layout choices available if not??I tried the same and its changing at my side.
Try to reset you preferences :
Open PSE just to the Welcome Screen and press Ctrl + Alt + Shift (Mac: Cmd + Opt + Shift) and keep pressing.
Click on organizer from the Welcome Screen but keep pressing the keyboard keys - don't let up.
You will get a little dialog box asking if you want to delete the settings file. Click "Yes." You can let go of the keyboard keys now.
This will rebuild the file for you and often solves the issue.
Try to send the email again.
Thanks
Harshit -
Making an RFC call from within the VM container
Hi all,
since a long time I am searching for information on how to implement an RFC call from within the VMC. The problem is that we have implemented several (p)functions in ABAP and we need to implement them in JAVA.
Now I am searching for a way how to just call the already existing pfunctions???
Is it possible to read CRM DB tables too?
Thank you in advance
BorisHi Freeto,
This may be due to the Network Failures.
If you have triggered a job then because of the Network fluctuations the system may not respond properly and cannot execute the job.
So, this is the cause for the failure.
Hope you understood.
With Regards,
Ravi Kanth -
No access to method from within the same class
Hey there.
First I have to excuse my English for I'm german and just learning...
Ok, my problem is as follows. I have a class called JDBC_Wrapper it includes the method sendQuery(String query). When I call this method from within another class (where 'wrapper' is my instance of JDBC_Wrapper) it works fine. For example:
wrapper.sendQuery("SELECT * FROM myDataBase");
But then I have written a method called getNumRows() into my JDBC_Wrapper class.
This method should send a query through sendQuery(Strin query) but when calling getNumRows() it says: "java.sql.SQLException: [FileMaker][ODBC FileMaker Pro driver][FileMaker Pro]Unbekannter Fehler." (Unbekannter Fehler -> Unknown Exception). What could that be?
I'm using jdk2 sdk 1.4.2 with BlueJ. My database is Filemaker Pro 6. The ODBC/JDBC connector works fine.
BerndZackThis is within my JDBC_Wrapper class:
public ResultSet sendQuery(String query)
if(connected)
try
Statement s = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
ResultSet rs = s.executeQuery(query);
return rs;
catch(Exception e)
System.out.println(e);
else
//System.out.println("There is no connection to the datasource!");
return null;
public int getNumRows()
try
ResultSet r;
r = this.sendQuery("SELECT COUNT(*) FROM " + table_name); // At this line the error occurs
r.next();
return (int)r.getInt(1);
catch(Exception e)
System.out.println(e.getMessage());
return -1;
}When I call sendQuery() from within another class it works, but calling getNumRows()
throws an exception. -
Filenames within the Aperture container
I have recently bought Aperture and, having transferred all my photographs into it (>200Gb), I am now trying to move the Aperture library to my file server where I have plenty of storage space. However, when I tried to copy the file to my server which is running RHEL4 I get the error message that the filename is either too long or contains illegal characters. I've lookind inside the Aperture container and have found folders with names like "2006-09-13 @ 07/27/44 pm -1importgroup" which is what is likely to be the problem. Can these filenames be changed or at least avoided in the future and if so how? The folders relate to imported folders of images from my archive drives.
Though this is arguably a MacOS bug as it should replace the '/' character (valid in HFS+ but not in standard unix-a-like filesystems) with ':' when passing it out over the file sharing protocol in question (I'd guess the original poster is using SMB talking to Samba).
-
When we rolled out ReaderX and AcrobatX we uncheck the Diaply PDF in Browser window. OK with IE, but ignored in FireFox (3.6.16). We can live with that except the PDFs have links to other URLs and clicking on them is ignored. Same PDF opened outside the browser the links work fine. FireFox with Reader 9.4.0 no problem. Reader X with IE no problem. I can fix the Display in Browser with a change to firefox.js, but have not figured out how to fix the links when the PDF is displayed within the browser.
My replies are in Bold.
Thank you for your response and message.
1. Are you seeing this problem with all kinds of PDF's or some specific kinds like secure PDF's (with doc open password or printing restrcitions), reader extended PDF's or PDF forms.
This problem is with all kind's of PDF's.
2. Are you opening a locally saved PDF by doing a drag drop in the browser or right click and open with IE/FF or directly opening a PDF hosted on the internet?
It doesn't matter. However I do it, I see this problem in Firefox, IE & Google Chrome.
3. Can you also check the version of the Reader X browser plugin? you could find it at C:\Program Files\Common Files\Adobe\Acrobat\ActiveX\AcroPDF.dll. Right click -> Properties -> Details
If version is 9.0.x then you could try a clean install of Reader X.
I have checked it. It's the latest plug-in (though at the moment, I have gone back to Adobe Reader 9.4.1, as I've mentioned before, because I need the reader to be working fine for my work and daily life. I am just waiting for a fix before I try Adobe Reader X again.
As I've mentioned before, I am seeing this issue ONLY on my Windows 7 Ultimate (Laptop). In the desktop's at work, with Windows XP / Vista, I don't see it. Adobe Reader is working fine, browser integration is fine, the floating tool bar works fine, the right click menu pop' up where the right click is done...I can also save PDF' from the main toolbar at the top and so on...
I really have run out of ideas.... and I am very surprised that no expert support personnel (if at all there is one) have dropped by or said anything or mentioned anything about this.
Anyway.... Cheers. -
10g Form - Can i invoke ms word within the from?
Hi everybody, I would appreciate if someone out there can help me with it......
On the form i have an ID Field.
I have a master MS Word file on the network drive.
Firstly
I have a button on the form. When pressed it should be able to create a New Folder on the network drive with the name of the folder same as ID Field. At the sametime it should copy the Master MS Word file and put it in the newly created folder.
Secondly
I want to open this Ms word file in the newly created folder within the 10g form and not run outside the form.
Kindly help........
irfiHi Francoise, Thank you for your reply.
The MS Word file resides on a shared folder on the server and doesnt get stored in the database (Independent of the database).
What i actually need is to be able to do 4 actions with a trigger on the button: meaning when the button is clicked it should:-
1- Create a new folder on the server
2- Copy the Original Master File to newly created folder.
3- The name of the folder to be the same as the ID Filed which is binded to a table.
4- To open the Ms Word file from the newly created folder within the oracle form and not like i have done in vb (Shell to open outside).
I have done this similar project in vb6 (Kindly have a look)
ServerFolderPath = "\\servername\foldername"
Private Sub Cmdsave_Click()
Dim Qry As String
Dim Re As New Recordset
Qry = "select * From IDRegistration where IDNo = '" & TxtIDNo.Text & "'" '(SQL Table)
If EditID = False Then
Re.Open Qry, DB, adOpenDynamic, adLockOptimistic
If Re.RecordCount > 0 Then
MsgBox "File with same ID Exists", vbInformation
Else
fso.CreateFolder ServerFolderPath & IDNo
fso.CopyFile ServerFolderPath & "one.doc", ServerFolderPath & IDNo & "\" & IDNo & ".Doc" '(one.doc is the master file)
Shell "c:\Program Files\Microsoft Office\Office11\winword.exe " & ServerFolderPath & IDNo & "\" & IDNo & ".doc", vbMaximizedFocus
End If
Please advice Thanks for your time!
irfi -
Applet inside a JAR: Cannot access other classes within the JAR
Hello,
Description
Web app + applet (packaged in a JAR)
I have followed this tutorial
JAR contents
package mypackage
SimpleApplet.class
SimpleObj.class
_"SimpleApplet" uses "SimpleObj"_
package mypackage;
public class SimpleApplet extends JApplet {
@Override
public void init() {
SimpleObj obj = new SimpleObj();
HTML code
<applet archive="SimpleApplet.jar" codebase="." code="mypackage.SimpleApplet.class" width="800" height="600" />
SimpleObj cannot be found (Java Console)
java.lang.NoClassDefFoundError: mypackage/SimpleObj
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: mypackage.SimpleObj
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 8 more
Caused by: java.io.IOException: open HTTP connection failed:*http://localhost:8080/SimpleApp/mypackage/SimpleObj.class*
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 12 more
Exception: java.lang.NoClassDefFoundError: mypackage/SimpleObj
It looks like JRE does not search for the SimpleObj class inside the JAR, but tries to get it from the server...
Any ideas?
Thanks in advance,
Gerard
Edited by: gsoldevila on Dec 10, 2008 2:05 AMmisread, deleted
Edited by: atmguy on Dec 10, 2008 1:12 PM -
Cannot update contacts from within the pc suite
so, i've installed the latest version of pc suite but that didn't work, i've deleted it and run the pc suite cleaner, deleted the sms app from the phone and reinstalled everything. i can sync with outlook (set to sync in one way from phone to outlook) without a problem but i want to add extra info to the contacts in the phone. i have clicked on the contacts icon in the pc suite and all my (old)contacts are listed, when i click update, i get the update window appear with the blue and green dots but it just runs for ages before another window opens and says:Warnings
The following warnings were produced during the synchronisation:
The Synchronisation has been Terminated!
PC Sync information.
The Synchronisation has been Terminated! PC Sync could not update the data to the mobile phone.
PC Sync information. PC Sync was not able to send data to the mobile phone.so whats up here then? everything else seems ok? any ideas?Cheers
Rich
Nexu 5I have no answer, just to say that I have had this problem for some time. I will dispose of my 9300 as soon as I have found a way out and go to a Msoft Mobile platform.
Club Nokia deny that there is a problem with the Software and sy that I should return the 'phone. Of course my retailer does not provide an equivalent 'phone so that is no good (as I run my business from my 'phone).
It may take a number of weeks (indeterminate) for Nokia to update the software on the phone. (Most Nokia service centres are unable to do this so by some wierd process I pack the phone and arrange at my expense to send it to their central service organisation. Whatever happend to the customer here?)
It's clear from a trawl of the internet that this is a serious problem, as a long time Communicator user (since the first 9000) I am very disappointed with Nokia's lack of support on this problem and would suggest that you don't waste your time trying to solve it. -
JMS setExceptionListener doesn't work in a j2ee container?
I have just upgraded to Oracle SOA suite 10.1.3.1.0 from Oracle BPEL 10.1.2.0.2
I have redeployed a servlet which I had running on my previous oc4j server.
However when my servlet now attempts to send a jms message to the server I get an exception raised:
QueueConnection[Oc4jJMS.Connection.ghc-pc029.5a62f421:10f2ebe2218:-8000.333]: cannot invoke method "setExceptionListener" within the J2EE container.
Please could you explain why the below method can not be invoked in a J2EE container.
javax.jms.QueueConnection#setExceptionListener(ExceptionListener listener)
(retrieved from com.evermind.server.rmi.RMIInitialContextFactory)
Is this a defect? regression? or limitation?
Thanks,
PeterPeter,
Is this a defect? regression? or limitation?Creating exception listeners is explicitely prohibited by the J2EE 1.4 specs (see http://java.sun.com/j2ee/j2ee-1_4-fr-spec.pdf, section 6.6, page 103).
We had to enforce this in 10.1.3.1 to be compliant and pass the Compatibility Test Suite (CTS). The idea is that all connection-related tasks are delegated to the container. WHile making things simpler, it also certainly removes some flexibility.
Hope this makes sense.
/Demed -
07/02/19 11:21:47 javax.jms.JMSException: TopicConnection[Oc4jJMS.Connection.dsc
p18056.3b2816fc:110d886e29f:-8000.35]: cannot invoke method "setClientID" within
the J2EE container.
07/02/19 11:21:47 at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1
034)
07/02/19 11:21:47 at com.evermind.server.jms.JMSUtils.toJMSException(JMSUt
ils.java:1114)
07/02/19 11:21:47 at com.evermind.server.jms.JMSUtils.toJMSException(JMSUt
ils.java:1085)
07/02/19 11:21:47 at com.evermind.server.jms.JMSUtils.assertNotContainer(J
MSUtils.java:1500)
07/02/19 11:21:47 at com.evermind.server.jms.EvermindConnection.setClientI
D(EvermindConnection.java:254)
07/02/19 11:21:47 at oracle.otnsamples.oc4jjms.ChatSubscriber.createSubscr
iber(Unknown Source)
07/02/19 11:21:47 at oracle.otnsamples.oc4jjms.GetMessage.doGet(Unknown So
urce)
07/02/19 11:21:47 at javax.servlet.http.HttpServlet.service(HttpServlet.ja
va:743)
07/02/19 11:21:47 at javax.servlet.http.HttpServlet.service(HttpServlet.ja
va:856)
07/02/19 11:21:47 at com.evermind.server.http.ServletRequestDispatcher.inv
oke(ServletRequestDispatcher.java:719)
07/02/19 11:21:47 at com.evermind.server.http.ServletRequestDispatcher.for
wardInternal(ServletRequestDispatcher.java:376)
07/02/19 11:21:47 at com.evermind.server.http.HttpRequestHandler.doProcess
Request(HttpRequestHandler.java:870)
07/02/19 11:21:47 at com.evermind.server.http.HttpRequestHandler.processRe
quest(HttpRequestHandler.java:451)
07/02/19 11:21:47 at com.evermind.server.http.HttpRequestHandler.serveOneR
equest(HttpRequestHandler.java:218)
07/02/19 11:21:47 at com.evermind.server.http.HttpRequestHandler.run(HttpR
equestHandler.java:119)
07/02/19 11:21:47 at com.evermind.server.http.HttpRequestHandler.run(HttpR
equestHandler.java:112)
07/02/19 11:21:47 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunna
ble.run(ServerSocketReadHandler.java:260)
07/02/19 11:21:47 at oracle.oc4j.network.ServerSocketAcceptHandler.procCli
entSocket(ServerSocketAcceptHandler.java:230)
07/02/19 11:21:47 at oracle.oc4j.network.ServerSocketAcceptHandler.access$
800(ServerSocketAcceptHandler.java:33)
07/02/19 11:21:47 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptH
andlerHorse.run(ServerSocketAcceptHandler.java:831)
07/02/19 11:21:47 at com.evermind.util.ReleasableResourcePooledExecutor$My
Worker.run(ReleasableResourcePooledExecutor.java:303)
07/02/19 11:21:47 at java.lang.Thread.run(Thread.java:595)This is a J2EE 1.4 restriction.
See section: J2EE.6.6 Java Service (JMS) 1.1 Requirements
"The following methods may only be used by application components
executing in the application client container:
javax.jms.Connection method setClientID"
For in-container connections, you should set clientID via the .xml.
-Jeff -
How can i locate the properties files within a ejb container?
when i develop servlet+javabean structure application,in order to imploement decoupling,i
would like to write the config information in the properties files(key-value pair),in
servlet,i use "getResourceAsStream(String relativePath)" method to retrieve the
configuration information from the properties files(i even write the SQL clause
in the files),it alwsys works well.
now,i want to implement such function within the ejb container,that is to read
a properties file from session bean,but i don't know how can i locate the file
within the ejb container by using relative path,i wonder if there is the same
method within ejb container as "getResourceAsStream(.......)" method within servlet
container?
thanks for any helps!
the code snippet is appreciated!In general, you should look at using environment entries (variables) in the
deployment descriptors (both the war and EJB jar rather than properties
files for configuring J2EE applications. The reasons for this are many:
1. This is the official way to do it according to the spec. Properties
files are the J2SE way of doing things
2. As you note, that it's not obvious how you would (legally) read a
properties file inside an EJB.
3. It's consistent between the web and EJB part of your code
4. the weblogic console and tools have good capabilities to edit these
fields.
Kent
"zhebincong" <[email protected]> wrote in message
news:[email protected]..
>
when i develop servlet+javabean structure application,in order toimploement decoupling,i
would like to write the config information in the propertiesfiles(key-value pair),in
servlet,i use "getResourceAsStream(String relativePath)" method toretrieve the
configuration information from the properties files(i even write the SQLclause
in the files),it alwsys works well.
now,i want to implement such function within the ejb container,that is toread
a properties file from session bean,but i don't know how can i locate thefile
within the ejb container by using relative path,i wonder if there is thesame
method within ejb container as "getResourceAsStream(.......)" methodwithin servlet
container?
thanks for any helps!
the code snippet is appreciated! -
Method to get the file path that invoked a servlet
i have a html file that invokes a servlet.Within the servlet i want a method that gives me the path of the html file.Is this possible without using cookies.or is there any method that serves my purpose?
Hi,
after reading the last posts I think you should try what KPSeal said (althought I haven't tried it) or use my last suggestion :
on your HTML link (which will be handled by server) add an extra parameter (e.g. http://handle.xxx?page=mypage.HTML) and catch it inside the servlet code to know from what page it came.
nevertheless, about the getRequestURL() (and getRequestURI()) it's a method from the interface HttpServletRequest, in the package javax.servlet.http that comes in the Servlet API. (you can find the servlet API at http://java.sun.com/products/servlet/download.html), but I believe if you have a servlet you already should have inside it the request object.
Maybe you are looking for
-
Adding custom message on the login page
I have done the following to try and get a custom message to display on the oracle login page: 1: In the System Administrator Responsibility, went into the System Profile Options and searched for "Local Login Mask" The default value was 32, I set it
-
Is there a way to display the size of a folder or group of folders in Bridge?
In windows it is easy to click on any folder and see the size of it's contents, whether it is a single folder or contains subfolders. This doesn't seem possible as far as I can see in Bridge. The only way I can see to see the size of a folder is to
-
When syncing my iPhone to Microsoft Outloook all the full day appointments become two day - 2300hrs to 2300hrs next day. Sometimes this will include a nuber of a single day of 23 hours. Looked at solutions and all point to a clock issue or a daylight
-
Generic error while using create operation on MDM WebService
Hello I´m trying to create a record on MDM using a standard MDM WebService operation createProducts When I create a record with everything blank (but not the repository info), it creates perfectly: <urn:createProducts> <urn:products>
-
Redirecting back to application after user authentification in UM
Hi all, I have SRM application installed together with UM on the same machine. While I'm trying to run SRM SUS app. on following page: http://mysite:56000/srmsus/application/start.do Here I put my user credentials and then I'm redirected to UM page a