JDeveloper 11g - exception when trying to set Code Style in Preferences
Hi forum
I have just installed the new JDeveloper 11g and have upgraded my projects, and would now like to define my code style. But when I open Preferences -> Code Editor -> Code Style, I get the following error. Is this a known issue? Not being able to set my coding style like I'm used to is pretty annoying...
Thanks in advance,
Jacob
"Internal error when trying to create this panel: "
java.lang.NullPointerException
at oracle.jdevimpl.style.profile.ProfileModel$ProfileComparator.compare(ProfileModel.java:409)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.sort(Arrays.java:1210)
at java.util.Collections.sort(Collections.java:159)
at oracle.jdevimpl.style.profile.ProfileModel.<init>(ProfileModel.java:72)
at oracle.jdevimpl.style.preferences.CodingStylePreferencesPanel.<init>(CodingStylePreferencesPanel.java:144)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at oracle.ide.panels.MetaTraversable.newTraversable(MetaTraversable.java:315)
at oracle.ide.panels.MetaTraversable.newTraversable(MetaTraversable.java:219)
at oracle.ide.panels.MDDPanel.getTraversable(MDDPanel.java:1347)
at oracle.ide.panels.MDDPanel.mav$getTraversable(MDDPanel.java:128)
at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1610)
at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1518)
at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1512)
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:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.Dialog$3.run(Dialog.java:1097)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1095)
at java.awt.Component.show(Component.java:1422)
at java.awt.Component.setVisible(Component.java:1375)
at java.awt.Window.setVisible(Window.java:806)
at java.awt.Dialog.setVisible(Dialog.java:985)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:808)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:593)
at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:45)
at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
at oracle.jdevimpl.vcs.cvs.CVSPreferencesCommand.doit(CVSPreferencesCommand.java:46)
at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:547)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)"
To anyone else encountering this:
I would just like to report, that Oracle Development has managed to reproduce this problem from scratch by following a similar upgrade path 10.1.3.0->10.1.3.4->11.1.1.0. The problem is NOT OS-related, but related to migrating the user settings from 10.1.3.3. So Jan you were right about that. Credits go to you :)
The only workaround for me has so far been to take a backup of my old SYSTEM directory causing the problem, and I have been forced to carefully recreate all my settings to get around this problem, since I already removed my old 10.1.3.3 installation, assuming the migration went OK - which it didn't... So, I will keep my old backup, in the hope that Development finds a fix to this issue, so I can go back to the settings I used to have, even though I THINK I have recreated them all for 11g - not completely sure though... time will tell.
Until then, I will track the bug, that Didier has logged for me, which he mentioned in his post.
Regards,
Jacob
Similar Messages
-
JDeveloper 11g - Exception when trying to run on Tomcat 5.5.20
I am trying to get an application working on JDeveloper 11g Technology Preview (4524) using Tomcat 5.5.20 as the server (NOT the Oracle embeded server), so that I can run and debug on Tomcat from JDeveloper. I can deploy to the Tomcat server but when I try to run the application (entry point is loginfos.jsp), after selecting the runtime service as Development Runtime Service (Tools > Select Runtime Service > Development Runtime Service (Packaged Deployment), I get the following error. Any ideas what might be wrong.
Target fos-app.jpr is not runnable, using default target loginfos.jsp.
oracle.jdeveloper.cm.CMException: Cannot find presentation for JSR160 in this ConnectionWrapper instance
at oracle.jdeveloper.cm.JndiConnectionWrapper.getPresentation(JndiConnectionWrapper.java:118)
at oracle.jdeveloper.asnav.ASConnectionWrapper.getPresentation(ASConnectionWrapper.java:60)
at oracle.jdevimpl.runner.adrs.AdrsConfigAdminJMX.<init>(AdrsConfigAdminJMX.java:55)
at oracle.jdevimpl.runner.adrs.AdrsAdmin.getAdrsConfigAdmin(AdrsAdmin.java:187)
at oracle.jdevimpl.runner.adrs.AdrsStarter.getAdrsConfigAdmin(AdrsStarter.java:606)
at oracle.jdevimpl.runner.adrs.AdrsStarter.prepareToStart(AdrsStarter.java:239)
at oracle.ide.runner.RunProcess.prepareToStart(RunProcess.java:847)
at oracle.ide.runner.RunProcess$1.run(RunProcess.java:803)
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at java.util.Properties.setProperty(Properties.java:128)
at oracle.jdevimpl.runner.adrs.AdrsStarter.generateJndiProperties(AdrsStarter.java:729)
at oracle.jdevimpl.runner.adrs.AdrsStarter.preStart(AdrsStarter.java:704)
at oracle.jdevimpl.runner.adrs.AdrsStarter.start(AdrsStarter.java:258)
at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:871)
at oracle.jdeveloper.runner.JRunProcess.startTarget(JRunProcess.java:529)
at oracle.jdeveloper.runner.RunningProcess.startTarget(RunningProcess.java:78)
at oracle.ide.runner.RunProcess$1$1.run(RunProcess.java:809)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
#### Failed to start Application in Development Runtime Instance.
Thanks
RayCHi,
JDeveloper 11 is in early technology preview and has not been tested outside of OC4J yet. In a nwer preview that then will be closer to production, those compatibility test should be run.
Frank -
Exception when trying to set data in a rfc model
Hi everybody,
I found a very good posting from Bertram Ganz, explaining how to fill "data structure parameter" in a rfc model: initializing AbstractList Model in Custom Controller
But although I directly follow the instructions given in this posting, I still get an ArrayIndexOutOfBoundsException (java.lang.ArrayIndexOutOfBoundsException: -1) when I try to add the "data structure parameter" to the model.
Here is an extract from my code:
Z_Wddemo_Mm_Lieferpl_Et_Change_Input input = new Z_Wddemo_Mm_Lieferpl_Et_Change_Input();
Zwddemo_Eket_S tabline = new Zwddemo_Eket_S();
tabline.setEindt(new Date(2007, 9, 27));
tabline.setEtenr("001");
tabline.setLmeng(new BigDecimal("1"));
tabline.setMenge(new BigDecimal("2"));
tabline.setWmeng(new BigDecimal("3"));
input.addIt_Eket(tabline);
wdContext.nodeProcessChangesModelValues().bind(input);
<i>nodeProcessChangesModelValues()</i> is the root node of the model. The exception occurs in line <i>input.addIt_Eket(tabline);</i>.
Any ideas what goes wrong here?
Thanks in advance for all answers!
Regards,
TorbenI am having problem retrieving the users from the AD, can anyone help me with this with an example plz!
-
Sharepoint 2013 webDAV PROPPATCH fails with status code 409 error every time, when trying to set custom property.
anyone have any ideaHi
Stumbled upon the resolution myself. The Bean Area item needs to be set to Visible=Yes in the property palette for the bean within Forms Builder, and also the implementation class also in the bean's properties must match exactly the package & class name specified in the PJC (my full implementation class string had to be set to oracle.forms.demos.runApplication).
As this bean has no user interface component, and since the Visible property has to be set to Yes, to avoid having a random square shape for the bean sitting on the form's canvas, I also set the Width and Height properties for the bean to 0.001. This does show a very small dot on the form, but that will be acceptable.
So in summary there has been a change for PJC / Bean Areas between 6i and 10g Forms, in 6i you could have the Bean Item to be set Visible=No, and the SET_CUSTOM_ PROPERTY built-in would work, however in 10g Forms the Bean Item must be set to Visible=Yes for the SET_CUSTOM_PROPERTY built-in to work.
Daryl -
Getting exception when trying to get taskdetails url using BPM worklist api
Getting exception when trying to get taskdetails url using BPM worklist api method :
String url = WorklistUtil.getTaskDisplayURL(
wfSvcClient,
ctx,
task,
null,
"worklist",
parameters);
Jul 21, 2011 11:24:40 AM oracle.bpel.services.common.ServicesLogger __log
WARNING: <oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean()> Exception while loading install config file in standalone Error : javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
oracle.fabric.common.FabricException: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:184)
at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean(TaskFlowPropsUtil.java:319)
at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfoForWeblogicServer(TaskFlowPropsUtil.java:491)
at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfo(TaskFlowPropsUtil.java:363)
at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getDefaultURLPrefix(WorklistUtil.java:264)
at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:353)
at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:293)
at com.test.WorflowServiceClient.main(WorflowServiceClient.java:198)
Caused by: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:662)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
at oracle.as.jmx.framework.config.session.ConfigurationMBeanServerImpl.getAttribute(ConfigurationMBeanServerImpl.java:210)
at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:78)
... 7 more
Caught workflow exception: null
Process exited with exit code 0.
Can anyone please help meActually i'm using Jdeveloper 11.1.1.4 and our requirement is to show list of BPM worklist tasks for the logged in user on the first page and onclick of each task task details page should be opened. I can use Webcenter PS3 worklist taskflow. But i'm not able to customize that taskflow. So, i'm going for Worklist client api.
I'm able to retrive the taskId,task title and few other details like task payload. But i don't know why the below method is giving exception.
String url =
WorklistUtil.getTaskDisplayURL(wfSvcClient,
ctx, task, null,
"worklist", parameters);
And i observed that you have also used the same code for getting Taskdetails url. And one more thing is i'm trying to access BPM worklist which is installed on remote machine.
Can you tell me what could be the reason for the exception? -
Exception when trying to run an Web Application that uses a Web service
Hello All,
I get an exception when trying to run an Web Application that uses a Web service. The web application is a WebDynpro Application.(an application similar to the one "Using an Email Web Service in Web Dynpro" in the tutorial section of Web Dynpro but using a different web service)
The exception is
<b>Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.</b>
Could anyone give me an idea on what might be the problem ?
Regards,
Loveline.Hello,
Like you said it was the problem with url.
The webservice I used is actually running on the local machine (where the NetWeaver developer studio is installed); so in the url I had specified localhost. But I deployed the application on another server(SAP J2EE Engine). That is why it didn't work. On changing the url as required, the application is working fine.
Thanks !
Regards,
Loveline. -
DataSource CORP_LDAP: Naming exception when trying to create principal
Using NetWeaver 6.40 SP 15.
I have configured the UME to use writable LDAP and database. Specifically, for LDAP I'm using the Sun One Directory Server. I'm able to authenticate using one of the LDAP users using a Web Dynpro app.
When I try to create a user through the NWA web app, I simply get a "Could not create user" error in the application. In the server instance "security.log" I found the following:
Date : 03/08/2006
Time : 16:22:59:248
Message : DataSource CORP_LDAP: Naming exception when trying to create principal ***************************************************************************
com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
UniqueID: USER.CORP_LDAP.testuser
Type: USER
Home data source: CORP_LDAP
Private id part: testuser
"com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
"com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
"com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
"com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
"com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
"com.sap.security.core.usermanagement"|->"company" (no time limit)=""
"com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
Severity : Error
Category : /System/Security/Usermanagement
Location : com.sap.security.core.persistence
Application : sap.com/com.sap.security.core.admin
Thread : SAPEngine_Application_Thread[impl:3]_22
Datasource : 1141856104605:C:\usr\sap\J2E\JC00\j2ee\cluster\server0\log\system\security.log
Message ID : 000D60DD8A4D00540000001C0000136000040E8333C9FD7C
Source Name : /System/Security/Usermanagement
Argument Objs : CORP_LDAP,***************************************************************************
com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
UniqueID: USER.CORP_LDAP.testuser
Type: USER
Home data source: CORP_LDAP
Private id part: testuser
"com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
"com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
"com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
"com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
"com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
"com.sap.security.core.usermanagement"|->"company" (no time limit)=""
"com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
Arguments : CORP_LDAP,***************************************************************************
com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
UniqueID: USER.CORP_LDAP.testuser
Type: USER
Home data source: CORP_LDAP
Private id part: testuser
"com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
"com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
"com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
"com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
"com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
"com.sap.security.core.usermanagement"|->"company" (no time limit)=""
"com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
Dsr Component : <masked id>_J2E_7234450
Dsr Transaction : 79521ee0aef011da9168000d60dd8a4d
Dsr User : Administrator
Indent : 0
Level : 0
Message Code :
Message Type : 1
Relatives : com.sap.security.core.persistence
Resource Bundlename :
Session : 200
Source : /System/Security/Usermanagement
ThreadObject : SAPEngine_Application_Thread[impl:3]_22
Transaction :
User : Administrator
Where can I find the initial NamingException?Hi All,
Thanks for your replies and SORRY for my late response.
Now, what I actually want is that though my UME is connected to LDAP i want to the portal admin to be able to create users in the portal DB. I checked my UME configuration and it says
Microsoft ADS (Deep Hheirarchy) + Database
and the name of the configuration file is
dataSourceConfiguration_ads_deep_writeable_db.xml
Now I could not understand why I am not able to create users in the DB?
Does the portal has any restriction like at any given point of time only one of the user stores can be active? Doesnt the portal allow both the user stores to be active at a time?
regards,
PK -
Caught Exception when trying to create pool Object
Hi All,
When a stateless session bean is looking up the entity bean following 'could not create pool object' exception is throwing.
[14/Jan/2003:09:12:50] SEVERE ( 1048): EJB5070: Exception creating stateless session bean : [java.lang.reflect.InvocationTargetException]
[14/Jan/2003:09:12:50] SEVERE ( 1048): EJB5017: Exception while running preinvoke : ejbName = [ConfigSessionBean]
[14/Jan/2003:09:12:50] SEVERE ( 1048):
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: c
java.lang.RuntimeException: Caught Exception when trying to create pool Object
at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
at com.sun.ejb.containers.StatelessSessionContainer.getContext(Unknown Source)
at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.getAllModules(ConfigSessionBean_EJBObjectImpl.java:255)
at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
Caused by: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB:
java.lang.reflect.InvocationTargetException
at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(Unknown Source)
... 13 more
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object
at com.sun.ejb.containers.StatelessSessionContainer.getContext(Unknown Source)
at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.getAllModules(ConfigSessionBean_EJBObjectImpl.java:255)
at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
I have also specified the following properties in the sunejbjar.xml for the session bean.
<ejb>
<bean-pool>
<steady-pool-size>2</steady-pool-size>
<resize-quantity>5</resize-quantity>
<max-pool-size>200</max-pool-size>
<pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds>
</bean-pool>
</ejb>
--Muthu.Muthu,
To find out whether the problem is with container setting or with your application, can you create a simple stateless session bean and check if it works fine. If it works fine send me ejb-jar.xml and sun-ejb-jar.xml for your application.
Deepak -
We have upgraded to fro m 3.0.8 portal 3.0.9.8.2 9iAS 1.0.2.2 on database 8.1.7
the system is very fast and run for sometime but after a while we see the following errors in Jserv.log file.
this error causes the whole system to hang and we have to restart apache/jserv.
Any light on this issue will be helpful and very much appreciated.
thanks,
Sunil Bontha
25/07/2001 14:07:51:388 CEST] Viewer/oracle.discoiv.Disco4iv: init
[25/07/2001 14:07:51:388 CEST] Viewer/oracle.discoiv.Disco4iv: Initializing Discoverer 4i Viewer (4.1.37.82)
[25/07/2001 14:09:15:219 CEST] page/oracle.webdb.page.ParallelServlet: init
[25/07/2001 14:09:15:249 CEST] page/JNI: Cache is enabled.
[25/07/2001 14:09:15:299 CEST] page/Starting a pool of 25 handlers.
[25/07/2001 14:09:43:820 CEST] page/JNI: Exception when trying to connect in 1.
[25/07/2001 14:09:43:830 CEST] page/Timeout occurred, label=145 url=http://www.myserver.com/pls/pmsportal30/!PMSPORTAL30.wwpro_app_provider.execute_portlet [25/07/2001 14:09:43:830 CEST] page/ContentFetcher InterruptedIOException Caught, Fetcher Timedout name=content-fetcher23
[25/07/2001 14:09:43:840 CEST] page/JNI: Exception when trying to connect in 1.
[25/07/2001 14:09:43:840 CEST] page/Timeout occurred, label=293 url=http://www.myserver.com/pls/pmsportal30/!PMSPORTAL30.wwpro_app_provider.execute_portlet [25/07/2001 14:09:43:840 CEST] page/ContentFetcher InterruptedIOException Caught, Fetcher Timedout name=content-fetcher22
[25/07/2001 14:09:53:864 CEST] page/JNI: Exception when trying to connect in 1.Hi Avi,
My application is a standalone application trying to access MBeans present in oc4j.
I tried
using the code
props.put(Context.INITIAL_CONTEXT_FACTORY ,"oracle.j2ee.rmi.RMIInitialContextFactory");
obj = (ManagementHome) ctx.lookup("ejb/mgmt/MEJB");
but i am getting the following error.
javax.naming.NameNotFoundException: ejb/mgmt/MEJB not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java
:45)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at TestMBean.doSomething(TestMBean.java:90)
at TestMBean.main(TestMBean.java:237)
java.lang.NullPointerException
at TestMBean.doSomething(TestMBean.java:107)
at TestMBean.main(TestMBean.java:237)
Regards
Siva -
Exception When trying to build java schedular
Dear Members,
i am trying recieving exception when am executing following code
package javaapplication1;
import java.util.Date;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.quartz.JobDetail;
import org.quartz.Scheduler;
import org.quartz.SchedulerFactory;
import org.quartz.SimpleTrigger;
import org.quartz.TriggerUtils;
import org.quartz.impl.StdSchedulerFactory;
import org.apache.log4j.*;
* This Example will demonstrate how to start and shutdown the Quartz
* scheduler and how to schedule a job to run in Quartz.
* @author rakesh nair
public class Main {
public void run() throws Exception {
// LogFactory.
PropertyConfigurator.configure("C:\\rakesh\\newpr\\env\\log4j.properties");
// Log log = LogFactory.getLog(Main.class);
// log.info("------- Initializing ----------------------");
// First we must get a reference to a scheduler
SchedulerFactory sf = new StdSchedulerFactory();
Scheduler sched = sf.getScheduler();
// log.info("------- Initialization Complete -----------");
// log.info("------- Scheduling Jobs -------------------");
// computer a time that is on the next round minute
Date runTime = TriggerUtils.getEvenMinuteDate(new Date());
// define the job and tie it to our HelloJob class
JobDetail job = new JobDetail("job1", "group1", test.class);
// Trigger the job to run on the next round minute
SimpleTrigger trigger =
new SimpleTrigger("trigger1", "group1", runTime);
// Tell quartz to schedule the job using our trigger
sched.scheduleJob(job, trigger);
//log.info(job.getFullName() + " will run at: " + runTime);
// Start up the scheduler (nothing can actually run until the
// scheduler has been started)
sched.start();
//log.info("------- Started Scheduler -----------------");
// wait long enough so that the scheduler as an opportunity to
// run the job!
//log.info("------- Waiting 90 seconds... -------------");
try {
// wait 90 seconds to show jobs
Thread.sleep(90L * 1000L);
// executing...
} catch (Exception e) {
// shut down the scheduler
//log.info("------- Shutting Down ---------------------");
sched.shutdown(true);
//log.info("------- Shutdown Complete -----------------");
public static void main(String[] args) throws Exception {
Main example = new Main();
example.run();
And Exception as follows
init:
deps-jar:
compile-single:
run-single:
log4j:ERROR Failed to excute sql
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at org.apache.log4j.jdbc.JDBCAppender.getConnection(JDBCAppender.java:197)
at org.apache.log4j.jdbc.JDBCAppender.execute(JDBCAppender.java:160)
at org.apache.log4j.jdbc.JDBCAppender.flushBuffer(JDBCAppender.java:235)
at org.apache.log4j.jdbc.JDBCAppender.append(JDBCAppender.java:131)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
at org.apache.log4j.Category.callAppenders(Category.java:187)
at org.apache.log4j.Category.forcedLog(Category.java:372)
at org.apache.log4j.Category.log(Category.java:864)
at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:152)
at org.quartz.simpl.SimpleThreadPool.initialize(SimpleThreadPool.java:258)
at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1154)
at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1355)
at javaapplication1.Main.run(Main.java:49)
at javaapplication1.Main.main(Main.java:93)
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/SetUtils
at org.quartz.JobDetail.<init>(JobDetail.java:85)
at javaapplication1.Main.run(Main.java:59)
at javaapplication1.Main.main(Main.java:93)Don't post more than once:
http://forum.java.sun.com/thread.jspa?threadID=5206089 -
Exception when trying to run OneEJBHotelSample
I get the following exception when trying to run the one ejb hotel sample,
any clues as to what is wrong??
java.lang.IncompatibleClassChangeError: Unimplemented interface method
at javax.naming.spi.NamingManager.getURLObject(Compiled Code)
at javax.naming.spi.NamingManager.getURLContext(Compiled Code)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Compiled Code)
at javax.naming.InitialContext.lookup(Compiled Code)
at client.JavaGUIClient.EJBHotelSample.getHotelSystemBean(Compiled Code)
at client.JavaGUIClient.EJBHotelSample.main(Compiled Code)
nullHello,
Like you said it was the problem with url.
The webservice I used is actually running on the local machine (where the NetWeaver developer studio is installed); so in the url I had specified localhost. But I deployed the application on another server(SAP J2EE Engine). That is why it didn't work. On changing the url as required, the application is working fine.
Thanks !
Regards,
Loveline. -
Continually get a message saying "We are experiencing technical difficulties, please try later" when trying to set up allowances. Not very helpful. Any ideas. I am running the latest itunes with Windows 7 Professional.
Not a solution yet, but received the following from one of the tech people I've been e-mailing back & forth with.
"I'm sorry that you have been unable to submit your podcast. The podcast submission form is currently offline. When trying to submit the podcast you will receive this message "We are Currently Experienced Technical Difficulties". Once the issue has been resolved, I would be glad to inform you.
Apple is currently working toward a resolution for the issue you have reported. You will receive an email after the matter has been investigated and further information is available."
Who knows, maybe the problem isn't with my feed after all. -
I did the back up as instructed... Installed a larger hard drive and followed the restore instructions... Now I get a white screen with a folder icon and blinking question mark. When trying to set startup with new drive I get a bless tool error... Help!!
If you have installed a new hard drive , you will need to have formatted it in Disk Utility correctly. This may explain your problem.
Boot into your 10.6 Install disk again at the top menubar > Utilities > select Disk utility and in there select your new hard drive, and select the tab Erase and choose to make the format as Mac OS Extended Journaled. When that is finished look in the main window to make sure that the partition map scheme says GUID Partition Table.
Now go to the Restore tab and reinstall from your backup. -
when trying to set up my personal email account, following the on screen instructions, it comes back with CANNOT CONNECT USING SSL, do you want to try setting up the account without ssl? Yes or No
Since Thunderbird does not run on iPads, what does this have to do with Thunderbird?
-
When trying to set up my eprint account. I get an error message my email
When trying to set up my eprint account. The error message is my email address is on file and I need to sign in, then when using my password, I am told I need to set up an account for the eprint center.
The issue you're experiencing is most likely due to an old Snapfish account registered under your email address. ePrintCenter and Snapfish account information is stored in the same place and I've seen this conflict before. You will need to go to http://www.snapfish.com/snapfish/welcome, click the "Sign In" in the top right hand corner of the page and then click the "forgot password" link and enter the email address that is causing your problems, you should receive an email from Snapfish that will let you create a new password there. Once you've created a new password for Snapfish, try to Sign In on ePrintCenter (http://www.eprintcenter.com/) using your email address and the new password you created for Snapfish.
If I have SOLVED your issue, please feel free to provide KUDOS and make sure you mark this thread as SOLUTION PROVIDED!
Although I work for HP, my posts and replies are my own opinion and not those of HP.
Maybe you are looking for
-
I 'm using NetBeans ide version 6.1, i created the sample desktop application for a project that am doing. My question is related to the background worker action that you can create automatically. I found out how to add an action on a button, and now
-
My granddaughter felt we both could use msoffice2010 professional plus offered free by Microsoft last year.It was for slow connection.I got it installed with key provided and was fully functional. Unfortunately she got it installed in her laptop with
-
Solaris 8 Download Install - Install CD Question
Hello, I am new to Solaris. I do have experience with BSD/LINUX/SCO installations. I too have downloaded the zipped images from Sun. Actually 4 as I downloaded the install, v1, v2, docs and the additional pgm zipped image file. I checked each CD afte
-
In trouble - need help: FCPX will not open - prompts CRASH report
Tonight, 7:15pm MTN, I closed FCPX upon a short range (single connected clip) wasn't rendering. It played perfectly, and I simply wanted to get rid of the red line above the project timeline over the clip, but nothing I did to render that section or
-
Asking for sims card on my iPhone?
asking for sims card on my iPhone?