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
Similar Messages
-
Exception when trying to create pool Object
I've been trying to get the forte 4.0ee ProductRichClient example for container managed beans to work.
After the deployment to Sun One I got following exception when I'm using the client:
18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
INFO:
---------AppClient Container--------
18.10.2002 10:56:20 com.iplanet.ias.appclient.Main setTagetServerProperties
INFO: ACC001:Using ClientContainer file: [C:\Sun\AppServer7\appserv\domains\domain1\server1\config\sun-acc.xml].
18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
INFO: ACC014: ORB host name: [NOD]
18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
INFO: ACC013: ORB port number: [3700]
18.10.2002 10:56:21 com.sun.enterprise.appclient.AppContainer preInvoke
INFO: ACC007: Initiating Login ...
18.10.2002 10:56:21 com.iplanet.ias.appclient.Main <init>
INFO: ACC009: Load Application Class: [CMPClient.SwingClient]
18.10.2002 10:56:23 com.iplanet.ias.appclient.Main <init>
INFO: Application main() finished normally
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:
java.lang.RuntimeException: Caught Exception when trying to create pool Object
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(Unknown Source)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at CMPServer._ProductHome_Stub.create(Unknown Source)
at CMPClient.SwingClient.AddRow_ButtonActionPerformed(SwingClient.java:127)
at CMPClient.SwingClient.access$100(SwingClient.java:24)
at CMPClient.SwingClient$2.actionPerformed(SwingClient.java:89)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
at java.awt.Component.processMouseEvent(Component.java:5021)
at java.awt.Component.processEvent(Component.java:4818)
at java.awt.Container.processEvent(Container.java:1525)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3074)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
at java.awt.Container.dispatchEventImpl(Container.java:1568)
at java.awt.Window.dispatchEventImpl(Window.java:1581)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Caused by: java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:
java.lang.RuntimeException: Caught Exception when trying to create pool Object
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(Unknown Source)
at com.sun.ejb.containers.BaseContainer.postInvoke(Unknown Source)
at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.java:33)
at CMPServer._ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl_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: 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.util.pool.NonBlockingPool.getObject(Unknown Source)
at com.sun.ejb.containers.EntityContainer.getPooledEJB(Unknown Source)
at com.sun.ejb.containers.EntityContainer.getContext(Unknown Source)
at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.java:25)
... 9 more
Caused by: javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
at com.sun.ejb.containers.EntityContainer$EntityContextFactory.create(Unknown Source)
... 15 more
Any thoughts on why this exception is being thrown?
Thanks for any help!
Richardthis sample has been tested by the SunONE TOOLs QA
and is working. Please check your deployment descriptors
and use the cmp samples which come with S1AS to see if your
descriptors are correct. -
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 -
JNDI Exception while trying to create home object
Hi everyone,
I'm trying out a test application to create a home object in a remote computer. I'm using the SUN Ref-Impl v1.3 . I ran the small code below,
try {
Hashtable env= new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
env.put(Context.PROVIDER_URL, "iiop://localhost:1050");
env.put(Context.SECURITY_PRINCIPAL, "guest");
env.put(Context.SECURITY_CREDENTIALS, "guest123");
InitialContext ic= new InitialContext(env);
Object objRef= ic.lookup("jdbc/eVDB");
System.out.println("DB conn success!");
} catch (Exception ex) {
ex.printStackTrace();
System.out.println("Unable to conn DB... "+ ex.getMessage());
I successfully accessed this Database object wrapped in an entity bean through .jsp .
But when I ran the above code the follwing exception was emitted,
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:402)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at TestJNDI.main(TestJNDI.java:26)
Unable to conn DB... null
========================
If anybody can help me I would be most grateful. Thank you.i added the j2ee.jar and the out put changed.
when i write,
ic.lookup("eV/CheckLogin");
it successfuly created the home object.
But when I added a database JNDI reference it failed,
when i wrote,
ic.lookup("java:comp/env/jdbc/eVDB");
the following exception occures,
javax.naming.NameNotFoundException: No object bound for java:comp/env/jdbc/eVDB
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:116)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at TestJNDI.main(TestJNDI.java:30)
and when i put,
ic.lookup("jdbc/eVDB")
the previous exception occures,
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:402)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at TestJNDI.main(TestJNDI.java:30)
===============
<sigh> I'm stumped... -
Error when trying to create custom object
Hi,
The error below occurs when I am trying to create a new form that was created using the customer object 1 form.
No language independent code exists for value 'English - United States' and type 'OCC_CUST_ZOBJ_1_LOV_3' with language 'ENU' in table 'S_LST_OF_VAL'.(SBL-DAT-00510)
Has anyone seen this before?
thanksDavid, I would recommend contacting On Demand customer care.
-
Exception when trying to create a user
I am trying to create a unified user profile. I have created my EJB MyEntityPropertyManager,
modified ejb-jar.xml, weblogic-ejb-jar.xml, application.xml and application-config.xml
(following the docs and examples). After I have deployed the ejb, I created one
UUP using EBCC. I sync-ed with the server and then went to admin tools to create
a user. I am getting the following exception:
javax.servlet.jsp.JspException: EJB Exception: : Exception[com.bea.p13n.usermgmt.profile.ProfileSystemException:
The default entity property manager was not found at the ejb-ref java:comp/env/ejb/MyEntityPropertyManager]
at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.lookupPropertyManager(ProfileMa
nagerImpl.java:859)
at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getEntityPropertyManager(Profil
eManagerImpl.java:836)
at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getEntityPropertyManager(Profil
eManagerImpl.java:816)
at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getPropertyNoDefault(ProfileMan
agerImpl.java:310)
at com.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getProperty(ProfileManagerImpl.
java:255)
at com.bea.p13n.usermgmt.profile.internal.UserProfileManagerImpl_jvn1jj_EOImpl.getProperty(U
serProfileManagerImpl_jvn1jj_EOImpl.java:205)
at com.bea.p13n.usermgmt.profile.internal.ProfileWrapperImpl.getProperty(ProfileWrapperImpl.
java:102)
at com.bea.p13n.usermgmt.servlets.jsp.taglib.GetPropertyTag.getProperty(GetPropertyTag.java:
147)
at com.bea.p13n.usermgmt.servlets.jsp.taglib.GetPropertyTag.doStartTag(GetPropertyTag.java:1
00)
at jsp_servlet._tools._usermgmt.__groupuser_property_view_sr._jspService(groupuser_property_
view_sr.jsp:20)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.jav
a:1058)
Can someone help?
Thanks in advance.Hi Tania,
I talked to the support engineer who is working on your case and he
pointed out that you had registered your UUP (MyEntityPropertyManager) as a
creator in the deployment descriptor for the UserProfileManager. This means
that a call to UserManager.createUser() will make a call to your UUP's
createUniqueId() method. However, your implementation of createUniqueId()
throws UnsupportedOperationException. You should either implement the logic
you need in createUniqueId() to set up your schema when a user is created or
do not register your UUP as a creator if you don't want it to be called when
you create a user (maybe because your schema is already set up or because
your setProperty methods take care of creation).
Ture Hoefner
BEA Systems, Inc.
www.bea.com
"Tania" <[email protected]> wrote in message
news:[email protected]...
>
I am trying to create a unified user profile. I have created my EJBMyEntityPropertyManager,
modified ejb-jar.xml, weblogic-ejb-jar.xml, application.xml andapplication-config.xml
(following the docs and examples). After I have deployed the ejb, Icreated one
UUP using EBCC. I sync-ed with the server and then went to admin tools tocreate
a user. I am getting the following exception:
javax.servlet.jsp.JspException: EJB Exception: :Exception[com.bea.p13n.usermgmt.profile.ProfileSystemException:
The default entity property manager was not found at the ejb-refjava:comp/env/ejb/MyEntityPropertyManager]
atcom.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.lookupPropertyMana
ger(ProfileMa
nagerImpl.java:859)
atcom.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getEntityPropertyM
anager(Profil
eManagerImpl.java:836)
atcom.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getEntityPropertyM
anager(Profil
eManagerImpl.java:816)
atcom.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getPropertyNoDefau
lt(ProfileMan
agerImpl.java:310)
atcom.bea.p13n.usermgmt.profile.internal.ProfileManagerImpl.getProperty(Profil
eManagerImpl.
java:255)
atcom.bea.p13n.usermgmt.profile.internal.UserProfileManagerImpl_jvn1jj_EOImpl.
getProperty(U
serProfileManagerImpl_jvn1jj_EOImpl.java:205)
atcom.bea.p13n.usermgmt.profile.internal.ProfileWrapperImpl.getProperty(Profil
eWrapperImpl.
java:102)
atcom.bea.p13n.usermgmt.servlets.jsp.taglib.GetPropertyTag.getProperty(GetProp
ertyTag.java:
147)
atcom.bea.p13n.usermgmt.servlets.jsp.taglib.GetPropertyTag.doStartTag(GetPrope
rtyTag.java:1
00)
atjsp_servlet._tools._usermgmt.__groupuser_property_view_sr._jspService(groupu
ser_property_
view_sr.jsp:20)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.jav
a:1058)
Can someone help?
Thanks in advance. -
Error when trying to create an object in servlet
Hi,
I have the servlet program and an ordinary class sample.class inside the same package.
i try to create a sample object inside the servlet . When i try to run the servlet I get an error that the sample class definitionnot found. In the ear file I deploy I have included the sample.class.
Any body had similar problemI have a user defined class inside a package in which the servlet is present. I create an object of this class in the servlet.Whn running my code I get an error stating that, the class definition of the the object is not found
-
Exception when trying to create standby db through EM
This is the only error I'm getting.
Exception
Index: 3, Size: 3
Running 10g on windows. Trying to create a standby db on another machine. This error comes up on step 1 of 6.
thanks.this sample has been tested by the SunONE TOOLs QA
and is working. Please check your deployment descriptors
and use the cmp samples which come with S1AS to see if your
descriptors are correct. -
Exception when trying to create a soap attachment javax.activation. Unsuppo
I am trying to pass an object String [] as a soap attachment.
Reading the docs, if I pass a parameter as type datahandler, it is automatically treated as an Attachment.
I used the constructor DataHandler (Object obj, String mimeType)
where the object was my StringArray, and MIME is the XML representation of
a java type, which according to weblogic docs is NMTOKENS,IDREF or ENTITIES.
It threw the same error for the other two.
Am I using DataHandler correctly, is MIME the SOAP representation of the Java Object in memory.
Thanks for any help
TonyI am trying to pass an object String [] as a soap attachment.
Reading the docs, if I pass a parameter as type datahandler, it is automatically treated as an Attachment.
I used the constructor DataHandler (Object obj, String mimeType)
where the object was my StringArray, and MIME is the XML representation of
a java type, which according to weblogic docs is NMTOKENS,IDREF or ENTITIES.
It threw the same error for the other two.
Am I using DataHandler correctly, is MIME the SOAP representation of the Java Object in memory.
Thanks for any help
Tony -
OutOfMemoryExcepion when trying to create MediaDetClass object
Hello ,
I have a web site that uses a FrameGrabber project which capture a frame out of video.
This FrameGrabber is using the DexterLib dll.
Until now , everything worked fine on our previous server that uses server 2003 OP,but lately we published this site on
a new server that Using server2012 op. Since then the DexterLib collapses on this row:
MediaDetClass mediaDet = new MediaDetClass();
with the following error:
Creating an instance of the COM component with CLSID {65BD0711-24D2-4FF7-9324-ED2E5D3ABAFA}
from the IClassFactory failed due to
the following error: 8007000e Not enough storage is available to complete this operation.
(Exception from HRESULT: 0x8007000E (E_OUTOFMEMORY)).
More Over ,In all of our developers machine, the code works fine with no errors.
I tried to debug the project in the visual studio on the new servers machine and seperate this row to another file ,
And the same thing happend , the code collapsed with the same error.
When I created a new seperated console application on this machine, using the framegrabber, everything worked fine.
Even more odd is that when I added a new web site to the current solution with a test page that uses the frame grabber,
again,everything worked fine.
I tried to rebuild the solution , and remove the DexterLib dll and add it again. Everything I tried until now , had failed.
Any help will be appreciated,
Kind Regards,
Tal HumyHi Tal humy,
Per my understanding, this thread is related to DirectShow forum. Please reopen thread on that forum for effective response.
http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?forum=windowsdirectshowdevelopment.
Regards, -
Iam geting exception when trying to creat sales order using bapi in BSP pro
hi,
I am using BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'
to creat a sales order in BSP program it giving the exception
An exception with the type CX_SY_DYN_CALL_ILLEGAL_TYPE occurred, but was neither handled locally, nor declared in a RAISING clause
Exception Class: CX_SY_DYN_CALL_ILLEGAL_TYPE
Error Id:
Program: CL_O2AXZG4R3LD7CRXUAEKYMRHCDL8CP
Include: CL_O2AXZG4R3LD7CRXUAEKYMRHCDL8CM007
Line: 78
Long Text
please help me in solving this exceptionHi,
Are you getting dump?
I agree with sudhakar. Usually this exception is raised when function is called without proper parameters.
Please check types of all the parameters you are passing. -
"Problem Opening Wizard" exception when trying to create new CEP project
Hi,
I am using Eclipse 3.5, get this error when I do File -> New Project -> OCEP Application Project. The error details says:
The selected wizard could not be started.
Plug-in "com.bea.wlevs.eclipse.tools.ui" was unable to instantiate class "com.bea.wlevs.eclipse.tools.ui.internal.wiz.project.NewOCEPProjectWizard".
com/bea/wlevs/eclipse/tools/core/internal/Activator
I was previously able to install the "OCEP Plugins for 3.5" without any problems.
I noticed that the default eclipse.ini file is pointing to JDK 1.5, whereas the installation pages say we need to use JDK6. I did try tweaking the ini file to point to JDK 6, but got the same error.
Any ideas?
Thanks,
RahulRahul,
Please confirm that you have edited the eclipse.ini file according to this:
http://wiki.eclipse.org/Eclipse.ini
The formatting is picky, so be sure you got it right. The OCEP plugins definitely won't load correctly unless Eclipse is running on a 1.6 JVM. You can confirm which version of the JVM Eclipse is running on by going to Help > About Eclipse > Installation Details, clicking on the Configuration tab, and looking for this: java.runtime.version
My suspicion is that you're still not running on a 1.6 JVM.
If you're sure you are running on a 1.6 JVM and you're still seeing the problem, can you send me the .log file in <workspace-dir>/.metadata/? I'll need to find out more information about what's going wrong.
Thanks!
Thomas -
I'm trying to share a folder in OneDrive with another user in my organization, and create a link so that people outside of the company can see the folder. Whenever I try to create a link I get an error that says: "Couldn't create the link sorry something
went wrong operation is not valid due to the current state of the object" How do I resolve this?Hi,
Sorry for replying late and I noticed that you posted another thread in this forum:
http://social.technet.microsoft.com/Forums/en-US/2b8c6f54-9c59-4b37-b28f-1d49a1b7913b/operation-is-not-valid-due-to-the-current-state-of-the-object-error-when-trying-to-create-a-link?forum=officeitpro
I've replied and kindly refer to it to see if it is helpful.
Regards,
Melon Chen
TechNet Community Support -
Exception thrown when trying to create MimeMessage
Hello,
I was working on the tutorial for sending SMTP messages using the JavaMail API. I set up the Session using Properties fine, but I begin throwing exceptions when trying to construct a new MimeMessage.
Properties props = System.getProperties();
props.put("mail.smtp.host", MAILHOST);
props.put("mail.transport.protocol", "SMTP" );
Session session = Session.getInstance(props, null);
// Exceptions thrown below
MimeMessage rfc822Msg = new MimeMessage(session);
The exception error message I receive is:
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError: javax/activation/DataSource
at MailApplet.actionPerformed(MailApplet.java:30)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:10
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ton.java:1101)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
er.java:204)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
at java.awt.Component.processMouseEvent(Component.java:3165)
at java.awt.Component.processEvent(Component.java, Compiled Code)
at java.awt.Container.processEvent(Container.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2068
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1852)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEventForComponent(EventDispatchTh
java, Compiled Code)
at java.awt.EventDispatchThread.pumpEventsForComponent(EventDispatchThre
va:95)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:90)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
If you have any idea what is going on your help will be greatly appreciated.
I am using the jdk1.2.2 build and the JavaMail1.2 distribution.
Thanks,
William MappThanks for the help. Sorry I goofed. Now I have a question regarding what addresses you can send mail to. It seems that if I attempt send mail to a server other than the SMPT host I get a javax.mail.SendFailedException: Sending failed. The exception continues by stating that the address was Invalid, Relaying Denied.
What does this actually mean? Should i be supplying more information?
Thanks,
Will -
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
Maybe you are looking for
-
Modifying the Inner Query Statement in FORMS 10g
Hi, I have a form with a Search Criteria section. The user builds the search criteria by puting values in the ITEMS. Then I want to query the table USING the criteria entered by the user. I know this is possible. How would I modify ORACLE's query sta
-
Problem with Install of Robohelp X5 Office
Recently I had to re-install Robohelp X5 Office. I realize this product was taken over by Adobe. When I go to the menu HELP/CONTENTS & INDEX, the help file is NOT comming up. Do you have any ideas that could help me? I believe there is a Service Pack
-
I get the message 'Error Loading Image'. No explanation, it is just a jpg photo
-
Audio book chapters play randomly though shuffle is set to off
I have turned off the 'shuffle' option in the Music section, but my audio book(s) still play chapters in a random mode. From intro and chapter 1 to chapter 18 or 22. Also the reset procedure seems not to work. I wanted to try this to see if it wou
-
Uninstalling Applications - Help!
When uninstalling applications (such as MS Office) , I was told to just drag the application to the trash and it would be deleted. Is this the case or are there residual files that remain such as in Windows XP? Not sure why OS X does not have a remov