Exception while resizing window
java.lang.NullPointerException at javax.swing.text.FlowView.calculateMinorAxisRequirements(Unknown Source)
at javax.swing.text.BoxView.checkRequests(Unknown Source)
at javax.swing.text.BoxView.getMinimumSpan(Unknown Source)
at javax.swing.text.BoxView.calculateMinorAxisRequirements(Unknown Source)
at javax.swing.text.BoxView.checkRequests(Unknown Source)
at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
at javax.swing.text.BoxView.layout(Unknown Source)
at javax.swing.text.BoxView.setSize(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.JEditorPane.getPreferredSize(Unknown Source)
at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
kirillg wrote:
+1
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
* at javax.swing.text.BoxView.calculateMinorAxisRequirements(Unknown Source)*
* at javax.swing.text.html.BlockView.calculateMinorAxisRequirements(Unknown Source)*
* at javax.swing.text.BoxView.checkRequests(Unknown Source)*
* at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)*
* at javax.swing.text.BoxView.layout(Unknown Source)*
* at javax.swing.text.BoxView.setSize(Unknown Source)*
* at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)*
* at javax.swing.plaf.basic.BasicTextUI.viewToModel(Unknown Source)*
* at javax.swing.text.html.HTMLEditorKit$LinkController.mouseMoved(Unknown Source)*
* at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)*
* at java.awt.Component.processMouseMotionEvent(Unknown Source)*
* at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)*
* at java.awt.Component.processEvent(Unknown Source)*
* at java.awt.Container.processEvent(Unknown Source)*
* at java.awt.Component.dispatchEventImpl(Unknown Source)*
* at java.awt.Container.dispatchEventImpl(Unknown Source)*
* at java.awt.Component.dispatchEvent(Unknown Source)*
* at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)*
* at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)*
* at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)*
* at java.awt.Container.dispatchEventImpl(Unknown Source)*
* at java.awt.Window.dispatchEventImpl(Unknown Source)*
* at java.awt.Component.dispatchEvent(Unknown Source)*
* at java.awt.EventQueue.dispatchEvent(Unknown Source)*
* at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)*
* at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)*
* at java.awt.EventDispatchThread.pumpEvents(Unknown Source)*
* at java.awt.EventDispatchThread.pumpEvents(Unknown Source)*
* at java.awt.EventDispatchThread.run(Unknown Source)*
hi . I am using JEditorpane , Now I got same problem . Any one could you solve this issues.
Thnks
Sasikumar Ellaar
Similar Messages
-
Detect WHILE a window is being resized
Hi,
Just got back into Java again. Used it in the from time to time during the last 13 years. Can't remember my old account or I would have used that one.
This time around I am using JavaFX instead of Swing. I was wondering how to detect while (not when) a window is being resized. I want to pause all drawing threads while the window is being resized. There doesn't seam to be any answers in the JavaFX API. Anyone have any possible solutions?
Thanks,
CarlAssuming you do your own painting and you are not using nodes in the scene, something like that might help:
stage.widthProperty().addListener(new ChangeListener<Number>(){
public void changed(ObservableValue<Number> observableValue, Number oldValue, Number newValue) {
requestRepaint();
// same on height.
private PauseTransition repaintTimer = null;
private Duration repaintWaitTime = Duration.millis(750);
public final void requestRepaint() {
if (repaintTimer != null) {
repaintTimer.stop();
repaintTimer = null;
repaintTimer = PauseTransitionBuilder.create().duration(repaintWaitTime).build();
repaintTimer.setOnFinished(new EventHandler<ActionEvent>() {
public void handle(ActionEvent actionEvent) {
repaint();
repaintTimer.play();
public final void repaint() {
impl_repaint();
private void imp_repaint() {
} -
Error while using window.open() in JSP page
I am getting error while using window.open() in my JSP page.
This is code in my JSP page,
<h:commandLink onclick="loadContextSensitiveHelp(#{setNewDayStatusBean. cycleStatusViewObject.helpUrl});" value="Help">
function loadContextSensitiveHelp(helpPageName) {
top.consoleRef=window.open('#{facesContext.externalContext.requestContextPath}/main/patient/helpPageName','myconsole',
'width=350,height=250'
+',menubar=0'
+',toolbar=0'
+',status=0'
+',scrollbars=1'
+',resizable=0')
top.consoleRef.document.close()
I am getting the following error in my browser,
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /SetNewDayStatus.jsp(69,34) #{..} is not allowed in template text
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:935)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:428)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:444)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
Anyone help me to solve this issue. Thanks............................I am getting error while using window.open() in my JSP page.
This is code in my JSP page,
<h:commandLink onclick="loadContextSensitiveHelp(#{setNewDayStatusBean. cycleStatusViewObject.helpUrl});" value="Help">
function loadContextSensitiveHelp(helpPageName) {
top.consoleRef=window.open('#{facesContext.externalContext.requestContextPath}/main/patient/helpPageName','myconsole',
'width=350,height=250'
+',menubar=0'
+',toolbar=0'
+',status=0'
+',scrollbars=1'
+',resizable=0')
top.consoleRef.document.close()
I am getting the following error in my browser,
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /SetNewDayStatus.jsp(69,34) #{..} is not allowed in template text
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:935)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:428)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:444)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
Anyone help me to solve this issue. Thanks............................ -
Hi,
I am upgrading our EBS 11i database (9.2.0.5.0) to 9.2.0.8.0 by following note : 216550.1 (Interoperability Notes Oracle Applications Release 11i with Oracle9i Release 2 (9.2.0)).
I have installed Opatch 2617419 and then installed 6880880 (p6880880_101000_WINNT.zip) (OUI patch).
While applying Windows patch 6 (5916268) ,using opatch I am getting the following error:
OPATCH_JAVA_ERROR=OPatch Exception while trying to check for Mini Patchset
Cannot check bug/file conflict and component prerequisite checks.
ERROR: OPatch failed during prerequisite check.
OPatch returns with error code = 150
Any help to resolve the issue is appreciated.
I saw note +'OPATCH_JAVA_ERROR=OPatch Exception While Trying to Check for Mini Patchset' while applying patch using opatch 1.0.0.0.x [ID 971783.1].+
There are no '&' in the inventory file. There are a lot of '<'. I dont know if this note is applicable.
Thanks
Thiru.Hi,
I am following section 2 only.
In Section 2, # 7 we have to apply latest Oracle Patching Tool (OPatch) patch 2617419 and in # 8 we have to apply additional 9.2.0.8 RDBMS patches ( in our case it is Windows patch 6.
I am getting issue while applying Windows patch 6 using opatch.
Rgds,
Thiru -
NoClassFoundError exception while running the java program
Hi,
I am getting the following exception while running a java program CSTToGMTToSQL.java
Exception in thread "main" java.lang.NoClassDefFoundError: CSTToGMTToSQL
However, the class file is getting created for this program in the same directory where the program is residing.
Any idea on this ?
Regards
RameshI know that in the past there was an issue with running a particular version of the SDK on a particular version of windows. The resulant error was a ClassNotFoundException. I am not sure about the versions involved.
-
Uncaught Java Exception while persisting the null bean at e-biz suite login
Dear Friends,
Recently, there was a java upgrade in my system and after that when i login to E-Biz suite, i get the following Jinitiator error and many Jinitiator windows open up with this error.
Uncaught Java Exception while persisting the null bean
Java.io.NotSerializableException:java.lang.thread
at.java.io.ObjectOutputStream.outputObject(Compiled Code)
at.java.io.ObjectOutputStream.writeObject(Compiled Code)
at.java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:369)
at.java.io.ObjectOutputStream.outputObject(Compiled Code)
at.java.io.ObjectOutputStream.writeObject(Compiled Code)
at sun.beans.ole.OleBeanInterface.saveBean(OleBeanInterface.java.508)It is very difficult to deal with many jinitiator error windows opening up.
Could any one tell the reason for this issue and its resolution as well?
Regards,
Sreekanth
Edited by: Sreekanth Munagala on Jun 14, 2012 8:49 AM
Edited by: Sreekanth Munagala on Jun 14, 2012 8:51 AMPlease post the details of the application release, database version and OS.
Recently, there was a java upgrade in my system What is this upgrade? From what version to what version?
What is your client OS/Browser?
What is the Jinitiator version?
and after that when i login to E-Biz suite, i get the following Jinitiator error and many Jinitiator windows open up with this error.
Uncaught Java Exception while persisting the null bean
Java.io.NotSerializableException:java.lang.thread
at.java.io.ObjectOutputStream.outputObject(Compiled Code)
at.java.io.ObjectOutputStream.writeObject(Compiled Code)
at.java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:369)
at.java.io.ObjectOutputStream.outputObject(Compiled Code)
at.java.io.ObjectOutputStream.writeObject(Compiled Code)
at sun.beans.ole.OleBeanInterface.saveBean(OleBeanInterface.java.508)It is very difficult to deal with many jinitiator error windows opening up.
Could any one tell the reason for this issue and its resolution as well?Is the issue with all clients and all browsers?
Have you tried to clear the jcache and the browser history files?
Thanks,
Hussein -
Exception while starting server P6 (EPPM 8.3.2) on Weblogic Server 11gR1
I am a single user for learning purpose. I am trying to install EPPM 8.3.2 on my lenovo Window 7, 32 Bit Laptop.
- I have installed weblogic server,
- Installed databse and
- EPPM 8.3.2.
Unfortunately I am getting error "Exception while starting server P6 ". I have not applied the patch 16176831 on Weblogic server as unable to download in (I don't have a support Identifier and I don't intend to buy also) can some body guide me if the exception is because of not applying the patch or for some other reason.
if because of Applying the patch 16176831 then where can I can free download it. (Since I am not making money right now I don't wan't to spend it either)
Thanks in anticipation.
Vikram S GuptaHello,
first of all your Problem on your 32-bit Laptop is that you cannot use 2GB of Memory for one managed Server (process). The P6 managed Server has set the Parameter to 2GB. So if you only have a total Memory of 2GB available then this won't be sufficent I fear. So first check your Oracle DB Setting how much Memory is used there. The next step is depending how you start your P6. Do you use the startPrimavera,bat? I mention not.
So go to your <drive>:\Middleware\user_projects\domains\P6EPPM\bin and run there the startWebLogic.cmd (maybe you're asked for the user to start. So use the weblogic user for Startup). Then open a browser and open the page http://localhost:7001/console (Standard if you haven't changed it through the install). Login with your weblogic user. On the left side click on Environment, then Server and click then on P6. In the Details page click on the Tab "Start up" and edit under arguments the following line:
-Dprimavera.bootstrap.home=G:/Oracle/P6EPPM/p6/../p6 -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -XX:MaxPermSize=512m -Xms512m -Xmx1024m
You can try to reduce it to -XX:MaxPermSize=256m -Xms256m -Xmx512m
Maybe you Need first to use the Change Center on the top left side.
After that go to Environment => Servers, Change Tab to Control. Set the Hug in front of P6 and click on start. If the Memory is sufficent then this will start.
A better way would be to increase the Memory on your Laptop.
Regards
Daniel -
Hi Friends,
When I run my application i have got the following Exception while executing it:
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException:
Error connecting using JCO.Client: null
What might be the problem.
Is it that the JCO connection created is null or the Exception means something else.
When i tried Deploying it locally its working well.
Please help me out in this regard.
Thanks and regards,
Chandrashekar.
Edited by: Armin Reichert on Jan 28, 2008 6:06 PMHi Priyanka/Sumith,
This is the required Stacktrace.
Please go through this stacktrace and let me know how to resolve this issue.
com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModel.prepareExecute(DynamicRFCModel.java:179)
com.utc.sap.testappm.allmodels.ALLMODELS.Z_test_input(ALLMODELS.java:709)
com.utc.sap.testappm.allmodels.Z_test_input.doExecute(Z_test_input.java:137)
com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
com.test.testappCustomContoller.exuteCounterListData(testappCustomContoller.java:130)
com.test.wdp.InternaltestappCustomContoller.exuteCounterListData(InternaltestappCustomContoller.java:171)
com.test.testapp.onActionGo(testapp.java:188)
com.test.wdp.Internaltestapp.wdInvokeEventHandler(Internaltestapp.java:186)
com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
Thanks and regards,
Chandrashekar.
Edited by: chandrashekar chandrashekar on Jan 28, 2008 2:03 PM -
Gettting exception while deploying jBoss version 4.2.2 GA
Hi All,
Getting the exception while deploying jBoss version 4.2.2 GA.Currently I am using JBoss version 4.0.5, here
my application is running fine.Now I upgrade the jboss version 4.0.5 to 4.2.2.
When I starting the server there is no problem but I trying to deploying the war file I am getting the exception below:
16:03:19,218 INFO [STDOUT] 16:03:19,218 ERROR [ContextLoaderPlugIn] [228] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateSessionFactory' defined in ServletContext resource [WEB-INF/applicationContext-approve-pending-file.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError: null
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.hibernate.cfg.search.SearchConfiguration.enableHibernateSearch(SearchConfiguration.java:62)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:856)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:777)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:703)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:352)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:295)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:224)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy44.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect
16:03:19,218 INFO [STDOUT] .Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.commons.logging.LogConfigurationException: The chosen LogFactory implementation does not extend LogFactory. Please check your configuration. (Caused by java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.commons.logging.impl.Log4jFactory)
at org.apache.commons.logging.LogFactory.createFactory(LogFactory.java:1200)
at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:991)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:572)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
at org.hibernate.search.event.FullTextIndexEventListener.<clinit>(FullTextIndexEventListener.java:77)
... 160 more
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.commons.logging.impl.Log4jFactory
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.commons.logging.LogFactory.createFactory(LogFactory.java:1190)
Can anyone help me pleaseHi David,
I greatly appreciate your details.
I have verified that and they looks fine. Let me give you some background.
The Weblogic server is properly configured on my Sun Solaris box. I am successfully able to deploy applications (.ear files), when I do it from the same machine.
But, I am getting the above mentioned issue only when I try to deploy same .ear file remotely; I mean deployment triggered from Windows 2003 server (target machine is Sun Solaris).
Please give your pointers and help me.
Regards,
Gopal. -
Oracle 10g JDev IDE 9.0.5.2 Null Pointer Exception while debugging
Hi,
In windows XP m/c, I am facing following Null Pointer
Exception while debugging basic Java application through
10g JDev 9.0.5.2, and it failed in debugging that application...
May I know, How to get it out of this problem..., am
suspecting Is it related to any of my windows XP configuration?
Here's the stack trace shown in the 10g JDev console while
debugging simple java application..,
java.lang.NullPointerException
at javax.swing.border.EmptyBorder.<init>(EmptyBorder.java:54)
at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRendere
r.getTableCellRendererComponent(WindowsTableHeaderUI.java:63)
at oracle.jdevimpl.runner.debug.ThreadsPanel$3.getTableCellRendererCompo
nent(ThreadsPanel.java:306)
at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(BasicTabl
eHeaderUI.java:394)
at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(BasicTableH
eaderUI.java:428)
at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(BasicTable
HeaderUI.java:454)
at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(BasicTable
HeaderUI.java:485)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1275)
at oracle.jdevimpl.runner.debug.ThreadsPanel.threadsPanelSettingsChanged
(ThreadsPanel.java:538)
at oracle.jdevimpl.runner.debug.ThreadsWindow$AllThreadsPanel.threadsWin
dowSettingsChanged(ThreadsWindow.java:408)
at oracle.jdevimpl.runner.debug.ThreadsWindow.threadsWindowSettingsChang
ed(ThreadsWindow.java:138)
at oracle.jdevimpl.runner.debug.ThreadsWindow.<init>(ThreadsWindow.java:
112)
at oracle.jdevimpl.runner.debug.JDebugger.getThreadsWindow(JDebugger.jav
a:3048)
at oracle.jdevimpl.runner.debug.DebuggingProcess.selected(DebuggingProce
ss.java:565)
at oracle.ideimpl.runner.RunManager.viewSelectionChanged(RunManager.java
:467)
at oracle.ide.addin.AbstractView.fireViewSelectionChanged(AbstractView.j
ava:484)
at oracle.ideri.navigator.DefaultNavigatorWindow.fireViewSelectionChange
d(DefaultNavigatorWindow.java:791)
at oracle.ideri.navigator.DefaultNavigatorWindow$3.viewSelectionChanged(
DefaultNavigatorWindow.java:1218)
at oracle.ide.addin.AbstractView.fireViewSelectionChanged(AbstractView.j
ava:484)
at oracle.ideimpl.explorer.BaseTreeExplorer.actionPerformed(BaseTreeExpl
orer.java:2077)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThJohn,
You mentioned "I closed the IDE so that the TopLink project would pick up the changes..."
1. We need to find out why you needed to close the IDE? Was TopLink mapping editor not picking up your changes?
2. I am sure you did not modified .java outside of Jdev, but in case if you did, let me know.
3. After removing a superclass attribute, did you save all changes?
4. We tried various combinations, but were unable to reproduce the project reopen issue that you mentioned was fixed by changing the ClassDescriptor.xml. It would be extremely helpful if you could either send us (anuj dot k dot jain at oracle dot com) a project that can reproduce this issue, or outline the exact steps. -
"Access Violation" exception while accessing PDEImage in outside of the class as a parameter
Hi,
In our project, we are retrieving PDEImage content from PDF Page by using below line of code in our Plugin project:
But we are getting "Access Violation" exception while accessing retrieved PDEImage in outside of the class as a parameter.
This issue is happening only in Windows 8.1 and Acrobat 11 combination.
If we remove the above highlighted lines from the method then no exception and working fine.
But we don't know why these lines are added, because we are not updating any of the PDF content here.
We are planning to remove these highlighted lines from the method.
We want to know whether the removing of these lines will impact the application.
Kindly help us to resolve the issue.And will removing the lines impact the application? Certainly. If you do not call PDPageReleasePDEContent you will have a memory leak at best, or may prevent other activity from completing (such as saving or closing the file). The first two lines, however, are redundant since you do not seem to be actually changing the page.
You must call PDPageReleasePDEContent when you have finished with the content, in every case. -
Exception while dequeuing message
Hi,
I am getting an error sayin
"Exception while dequeuing message : Dequeue error in AQ object, ORA-25215: user_
data type and queue type do not match"
What will be the problem?Please help me with solution.
Thanks in advanceThis is the link i am following for enqueuing the message into a queue table, its happening successfully.
http://www.oratechinfo.co.uk/aq.html
I can see the message i enqueued in the queue table with the following query at the scheduled time.
select user_data from queue_table;
Below is the C++ code to dequeue the msg.In DequeueObject() function on this particular line "msgid = oaq.Dequeue();"
the control moves to console which not proceeding further.I am wondering what went wrong.
//This is a simple program showing how to call oo4o api from a mulithreaded application.
//Note that every thread has its own OStartup() and OShutdown() routines.
// PROJECT SETTINGS : Under C/C++ option, make sure the project options is /MT for release
// or /MTd for debug(NOT /ML or /MLd).
#include "windows.h"
#include "stdio.h"
#include <iostream>
#include <process.h>
#include <oracl.h>
using namespace std;
OSession osess ;
int DequeueRaw();
int DequeueObject();
int main(int argc, char **argv)
int retVal = 0;
OStartup(OSTARTUP_MULTITHREADED);
// create session object for each thread. This gives maximum
// concurrency to the thread execution. This is also useful when OO4O
// error reported on session object for one thread cannot be seen by
// another thread.
try
osess.Open();
if ( ! osess.IsOpen() )
cout << "Session not opened: Error: " << osess.GetErrorText() << endl;
osess.Close();
OShutdown();
return -1;
// retVal = DequeueRaw();
retVal = DequeueObject();
catch(OException oerr)
cout << "Exception while dequeuing message : " << oerr.GetErrorText() << endl;
retVal = -1;
return retVal;
// This function dequeues a message of default type(string of characters)
// from the raw_msg_queue.
// Gets the message priority after dequeuing
// Checks if any message with correlation like 'AQ' is available on the queue.
int DequeueRaw()
ODatabase odb;
OAQ oaq;
OAQMsg oaqmsg;
OValue msg;
const char *msgid = 0;
odb.Open(osess, "MICROSOFT", "OMNIPOS", "OMNIPOS");
if ( ! odb.IsOpen() )
cout << "Database not opened: " << odb.GetErrorText() << endl;
odb.Close();
return(-1);
// Open the 'raw_msg_queue'
oaq.Open(odb,"example_queue");
if( !oaq.IsOpen())
cout << "AQ not opened: " << oaq.GetErrorText() << endl;
return(-1);
// Get an instance of the default message(of RAW type)
oaqmsg.Open(oaq);
if( !oaqmsg.IsOpen() )
cout << "AQMsg not opened: " << oaqmsg.GetErrorText() << endl;
return(-1);
// Dequeue a message
//msgid = oaq.Dequeue();
//if (msgid )
// // Retrieve the message attributes
// oaqmsg.GetValue(&msg);
// const char *msgval = msg;
// cout << "Message '" << msgval <<
// "' dequeued at priority : " << oaqmsg.GetPriority() << endl;
// Dequeue message with correlation like "AQ"
oaq.SetCorrelate("%AQ%");
oaq.SetDequeueMode(3);
msgid = oaq.Dequeue();
if (msgid )
// Retrieve the message attributes
char msgval[101];
long len = oaqmsg.GetValue(msgval,100);
msgval[len] = '\0';
cout << "Message '" << msgval <<
"' dequeued at priority : " << oaqmsg.GetPriority() << endl;
// Close all of the objects
oaqmsg.Close();
oaq.Close();
odb.Close();
return 0;
// This function dequeues a message of user-defined type MESSAGE_TYPE
// from the msg_queue.
// Gets the message priority after dequeuing
// Checks if any message with correlation like 'SCOTT' is available on the queue.
int DequeueObject()
ODatabase odb;
OAQ oaq;
OAQMsg oaqmsg;
const char *msgid = 0;
OValue msg;
char subject[255];
char text[255];
odb.Open(osess, "MICROSOFT", "OMNIPOS", "OMNIPOS");
if ( ! odb.IsOpen() )
cout << "Database not opened: " << odb.GetErrorText() << endl;
odb.Close();
return(-1);
// Open the 'msg_queue'
oaq.Open(odb,"example_queue");
if( !oaq.IsOpen())
cout << "AQ not opened: " << oaq.GetErrorText() << endl;
return(-1);
// Get an instance of the udt MESSAGE_TYPE (check out schema for details)
oaqmsg.Open(oaq,1,"MESSAGE_TYPE");
if( !oaqmsg.IsOpen() )
cout << "AQMsg not opened: " << oaqmsg.GetErrorText() << endl;
return(-1);
// Dequeue message with correlation like "SCOTT"
oaq.SetCorrelate("%OMNIPOS%");
oaq.SetDequeueMode(3);
msgid = oaq.Dequeue();
if (msgid )
// Retrieve the message attributes
// Get the subject,text attributes of the message
OObject msgval;
oaqmsg.GetValue(&msgval);
msgval.GetAttrValue("subject", subject,255);
msgval.GetAttrValue("text", text,255);
cout << "Message '" << (subject ? subject :"") << "' & Body : '" << text <<
"' dequeued at priority : " << oaqmsg.GetPriority() << endl;
msgval.Close();
msgid = 0;
oaq.SetNavigation(1);
oaq.SetCorrelate("");
// Dequeue a message
msgid = oaq.Dequeue();
if (msgid )
// Retrieve the message attributes
OObject msgval;
oaqmsg.GetValue(&msg);
msgval = msg;
// Get the subject,text attributes of the message
msgval.GetAttrValue("subject", subject,255);
msgval.GetAttrValue("text", text,255);
cout << "Message '" << (subject ? subject :"") << "' & Body : '" << text <<
"' dequeued at priority : " << oaqmsg.GetPriority() << endl;
msgval.Close();
// Close all of the objects
msgid = NULL;
msg.Clear();
oaqmsg.Close();
oaq.Close();
odb.Close();
return 0;
} -
Exception while initializing services.
Error:
C:\Endeca\apps\Discover\control>initialize_services.bat
Setting EAC provisioning and performing initial setup...
[09.24.13 08:40:16] INFO: Checking definition from AppConfig.xml against existin
g EAC provisioning.
[09.24.13 08:40:16] INFO: Setting definition for application 'Discover'.
[09.24.13 08:40:17] INFO: Setting definition for host 'AuthoringMDEXHost'.
[09.24.13 08:40:21] SEVERE: Caught an exception while checking provisioning.
Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.host.Host setDefinition - Caught exception while s
etting host definition.
Caused by com.endeca.eac.client.ProvisioningFault
sun.reflect.NativeConstructorAccessorImpl newInstance0 - null
Full trace:
Error:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd C:\Endeca\ToolsAndFrameworks\3.1.2\deployment_template\bi
n
C:\Endeca\ToolsAndFrameworks\3.1.2\deployment_template\bin>deploy --app C:\Endec
a\ToolsAndFrameworks\3.1.2\reference\discover-data\deploy.xml
Found version 6.1 of the Endeca IAP installed in directory
C:\Endeca\PlatformServices\6.1.3. If either the version or location are
incorrect, type 'Q' to quit and adjust your ENDECA_ROOT environment variable.
Press enter to continue with these settings.
Continue?
Y
Deployment Template installation script.
This script creates the directory structure for your
deployment and installs configuration files and scripts
into the directory structure.
09/24/2013 08:33:02 [deploy.pl] INFO: Starting deployment template
installation.
The following app modules were specified on the command line argument:
C:\Endeca\ToolsAndFrameworks\3.1.2\reference\discover-data\deploy.xml
Modules may be deployed standalone or on top of a base deployment type. Do
you want to install a base deployment with the specified module(s)?
Install base deployment? [Y/N]:
Y
09/24/2013 08:33:22 [AppDescriptorReader] INFO: Parsing application descriptor
file C:\Endeca\ToolsAndFrameworks\3.1.2\reference\discover-data\deploy.xml.
09/24/2013 08:33:22 [AppDescriptorReader] INFO: Parsing application descriptor
file
C:\Endeca\ToolsAndFrameworks\3.1.2\deployment_template\app-templates\base_des
criptor.xml.
Enter a short name for your application.
Note: The name must conform to this regular expression: ^[a-zA-Z0-9]+$
[default: Discover]
Choosing a different application name may require additional configuration on
your web application.
Application name:
Discover
Specify the path into which the application will be deployed. The specified
directory must exist and cannot contain spaces.
For example, to deploy into c:\apps\Discover, specify the path as c:\apps.
Deployment directory:
c:\Endeca\apps
Specify the port on which the Endeca Application Controller is running. This
is configured in the server.xml file in the workspace of the Endeca software
install and should be the same for all applications deployed in this
environment. Ports must be in the range 1024-65535 [default: 8888].
EAC port:
8888
09/24/2013 08:35:36 [deploy.pl] INFO: Deploying application into
C:\Endeca\apps\Discover
What port is the Workbench running? [Default: 8006]
8006
What port should be used for the Live Dgraph? [Default: 15000]
15000
What port should be used for the Authoring Dgraph? [Default: 15002]
15002
What port should be used for LogServer? [Default: 15010]
15010
09/24/2013 08:37:39 [AppDescriptorReader] INFO: Parsing application descriptor
file
C:\Endeca\ToolsAndFrameworks\3.1.2\deployment_template\app-templates\base_des
criptor.xml.
09/24/2013 08:37:39 [deploy.pl] INFO: Processing install with id 'Dgraph'
09/24/2013 08:37:39 [AppDescriptorReader] INFO: Parsing application descriptor
file C:\Endeca\ToolsAndFrameworks\3.1.2\reference\discover-data\deploy.xml.
09/24/2013 08:37:39 [deploy.pl] INFO: Processing install with id
'DefaultTemplateManagerApp'
09/24/2013 08:37:39 [deploy.pl] INFO: Application successfully deployed.
C:\Endeca\ToolsAndFrameworks\3.1.2\deployment_template\bin>cd ..\..\..
C:\Endeca\ToolsAndFrameworks>cd ..
C:\Endeca>apps
'apps' is not recognized as an internal or external command,
operable program or batch file.
C:\Endeca>cd apps
C:\Endeca\apps>cd Discover
C:\Endeca\apps\Discover>cd control
C:\Endeca\apps\Discover\control>initialize_services.bat
Setting EAC provisioning and performing initial setup...
[09.24.13 08:40:16] INFO: Checking definition from AppConfig.xml against existin
g EAC provisioning.
[09.24.13 08:40:16] INFO: Setting definition for application 'Discover'.
[09.24.13 08:40:17] INFO: Setting definition for host 'AuthoringMDEXHost'.
[09.24.13 08:40:21] SEVERE: Caught an exception while checking provisioning.
Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.host.Host setDefinition - Caught exception while s
etting host definition.
Caused by com.endeca.eac.client.ProvisioningFault
sun.reflect.NativeConstructorAccessorImpl newInstance0 - null
Please help to resolve the issue.I got the exact the same issue with the same steps as above. I was using Windows 7. I could not figure out what was the issue. Would like to get help also. Thx.
TP -
Exception while creating JCo client connection Failed to create
Hello all -
I am trying to create JCo metadata connections and I am getting the below error trace.
Exception while creating JCo client connection Failed to create new JCO client connection SAP_R3_HumanResources_Metadata: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to change password for key SAP_R3_HumanResources_Metadata in secure storage at com.sap.tc.webdynpro.serverimpl.wdc.sl.SecureStorageWrapper.changePassword(SecureStorageWrapper.java:149) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:299) at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:265) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:265) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) Caused by: com.sap.security.core.server.securestorage.exception.ObjectStorageException at com.sap.security.core.server.securestorage.remote.RemoteSecureStorageClientContextImpl.storeObject(RemoteSecureStorageClientContextImpl.java:600) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SecureStorageWrapper.changePassword(SecureStorageWrapper.java:137) ... 33 more
Could anybody please suggest what is wrong with this creation?
Thanks much!!Hi Maria,
Please update the host and sevice file first then check the SLD test and SLD Data supplier in visual admin.
Also check and verify the data using in the Jco destination creation.
Hope it will helps
Regards
Arun Jaiswal -
Hi,
I just upgraded my test environment from EM 12c R1 to R2.
Whole environment runs on Windows: Admin server and monitored targets.
After following the installation steps in the migration guide, Weblogic console starts nicely (using %DOMAIN_HOME%\startWebLogic.cmd), but I having trouble to start Enterprise Manager Cloud Control web console/server.
After trying to start EMGC_OMS1 managed server in WebLogic's console, I get the following:
- EMGC_OMS1 state goes to FAILED_NOT_RESTARTABLE.
- Admin Server's log show the following errors:
2012-Sep-28 14:33:05EMReposLoginModuleImpl: throwing LoginException: Authentication Failed: User . Password not supplied
<Sep 28, 2012 2:33:05 PM CEST> <Warning> <DeploymentService> <BEA-290014> <Invalid user name or password.>
2012-Sep-28 14:33:07EMReposLoginModuleImpl: throwing LoginException: Authentication Failed: User . Password not supplied
<Sep 28, 2012 2:33:07 PM CEST> <Error> <Configuration Management> <BEA-150035> <An attempt was made to download the configuration for >the server EMGC_OMS1 by the user with an invalid password.>
<Sep 28, 2012 2:33:13 PM CEST> <Error> <NodeManager> <BEA-300048> <Unable to start the server EMGC_OMS1 : Exception while starting server >'EMGC_OMS1'>I tried the following:
- Write again boot.properties file in %DOMAIN_HOME%\servers\EMGC_ADMINSERVER\security and %DOMAIN_HOME%\servers\EMGC_OMS1\security with the credentials for the Weblogic's admin user.
- Set username and password on "Settings for EMGC_OMS1">Configuration > Server start tab within Weblogic console.
None of these were successful.
I also compared the old (R1) installation folder with the new one for the R2, but I cannot see any relevant difference.
Do you have any suggestion on what else can be wrong?
Thanks on advance,
AngelHi Angel,
Please see the following doc for instructions on starting an OMS.
http://docs.oracle.com/cd/E24628_01/doc.121/e24473/emctl.htm#BABFEEAJ
Regards,
- Loc
Maybe you are looking for
-
IE locks when printing to pdf from a web-based page or pdf
Acrobat 7 standard. IE 6 on XPPro64. It is a 64 bit machine and so printer drivers had to be obtained for 64 bit. When I try to print to "Adobe pdf", the current page out of a 200 page catalog being viewed online, IE locks up and the print job in the
-
I have no clue as to what my security question answers are and since this is my first purchase from my mac book it is asking for these. What do i do?
-
HTTP Receiver Adapter payload as single line plain text with out any tags.
Hi PI experts, I have a strange problem in http receiver adapter. Sender RFC (SAP) Receiver: HTTP. Receiver system expects the output from XI in the below format in a single line plain text with out any tags in the payload. and the content type shou
-
How to Output Nodes from XML web service to a FLV?
Hi I've used AS3 to query a web service and obtain the resulting XML. I need to parse the result down to just a few nodes for a given location. I can tackle that separately. I am wondering how I output the parsed XML to a flash video file (.flx)?
-
Adobe Premiere Elements sn removed cannot be installed after System rebooted
Installation of Premiere Elements with legal serial number is denied. What can I do?@