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
Similar Messages
-
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 -
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. -
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. -
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. -
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. -
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 -
"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 -
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 -
Portal runtime error when trying to create new Iviews in EP
Hi
Require an Urgent help
getting portal runtime error when trying to create a new iView in portal. I am unable to create a single iView in portal.
It was working before please see this error message
Portal Runtime Error
An exception occurred while processing a request for :
iView : com.sap.portal.appintegrator.sap.WebDynproPageBuilder
Component Name : com.sap.portal.appintegrator.sap.WebDynproPageBuilder
Error occurs during the rendering of jsp component.
Exception id: 05:20_12/01/08_0004_17115850
See the details for the exception ID in the log file
AM Iworking on NW2004s sp11. I was able to create iViews on this system before
let me know where to check the log file also. Points will be awarded
Thank you
Krishna Kanth
Edited by: siddi siddi on Jan 13, 2008 12:05 AMKrishna Kanth,
logs can be read from nwa, if you hv the relevant access or get portal admin to pass the defaulttrace file to you. Login to nwa, navigate to Monitoring-Logs and traces and select (either default trace or last 24hrs) to view the logs. hope this helps
prachi -
I am facing an issue when trying to create a Duplicate Record.
Ist time when I create a record, its created Successfully.
I have Attribute validations which should not accept duplicate values, So to check that I tried to create the record with same values to display proper warning message.
After entering all the values (same values which i already entered in 1st record), when I tab out its showing as Red color border for that field, its expecting behaviour so no problem with that...
Then I click on Submit or Next button, now it's showing pop-up with expected warning message along with unexpected Exception message.
oracle.jbo.AttrValException: Attribute test in TestEO is required
The test field is mandatory in EO, VO and .jsff. Could any body please help me what i missed here.
My JDEV version: 11.1.17.0
Regards
GowreenathHi Popz,
Thanks for your reply.
I am using fnd:applicationsPanel next button as nextAction="next", so i didn't find immediate property in fnd:applicationPanel.
So, I tried 2 things based on your comment.
1. nextPartialSubmit ="true"... this option is also not worked.
2. In my Test attribute added immediate="true" this is also not worked.
If you have any id how to set immediate property or related property in fnd:applicationPanel for nextAction. Please let me know.
Thanks
Gowreenath -
NotEntitledException when trying to create new potral
hi all ,
when trying to create new portal from admin console in weblogic portal it give me this exception "A NotEntitledException occurred trying to create a Portal definition with a title of testportal".
please any help about this exeptionMe too.
-
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 post to a page
In NetD we created and submitted a form with JavaScript.
The form looked something like this
<FORM ACTION=pgXYZ METHOD=POST>
<INPUT TYPE=hidden NAME=SPIDERSESSION VALUE=12345>
</FORM>
So now in Jato, we're trying to do the exact same thing,
except that instead of SPIDERSESSION, we use the three Jato
variables. Now the form is like this:
<FORM ACTION=pgXYZ METHOD=POST>
<INPUT TYPE=hidden NAME=GXHC_GX_jst VALUE=12345>
<INPUT TYPE=hidden NAME=GXHC_gx_session_id_ VALUE=12345>
<INPUT TYPE=hidden NAME=pageAttributes VALUE=12345>
</FORM>
Notice we're not submitting to a handler, but just to the page itself.
When we do this, we get an exception:
[02/Oct/2001 16:29:59:4] error: Exception: SERVLET-execution_failed:
Error in executing servlet portalServlet:
javax.servlet.ServletException: The request was not be handled by the
specified handler
Exception Stack Trace:
javax.servlet.ServletException: The request was not be handled by the
specified handler^M
at
com.putnaminvestments.common.jato.ApplicationServletBase.dispatchReque
st(ApplicationServletBase.java:668)^M
at
com.putnaminvestments.common.jato.ApplicationServletBase.processReques
t(ApplicationServletBase.java:428)^M
at
com.putnaminvestments.common.jato.ApplicationServletBase.doPost(Applic
ationServletBase.java:296)^M
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:772)^M
at
com.putnaminvestments.bp.bpServletBase.service(bpServletBase.java:139)
^M
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)^M
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)^M
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknow
n Source)^M
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
at com.kivasoft.thread.ThreadBasic.run(Native Method)^M
at java.lang.Thread.run(Thread.java:479)^M
So what are we missing??Thanks Kostas, good answer.
Todd
----- Original Message -----
From: "Kostas Morfis" <kmorfis@i...>
Sent: Tuesday, October 02, 2001 4:31 PM
Subject: RE: [iPlanet-JATO] Exception when trying to post to a page
Hi Mark
You are trying to submit to a view bean using java script right ?
Notice we're not submitting to a handler, but just to the page itself.You are actually submitting the request to your JATO selvlet base, is that
you intention ?
The exception is being thrown because there is no request handler found.
If you are trying invoke a handleBtnXXXmethod then your form action would
look something like,
<form method="post" action="../myServlet/pgMyPage?pgMypage.btnMyButton=">
This adds to the request an appropriate handler as a parameter. Another
option could be to add a hidden field
with the same name as your button.
Attempting to post the form without specifying a request handler will not
work eg:
<form method="post" action="../myServlet/pgMyPage">
This throws a ServletException("The request was not be handled by the
specified handler")
because you are doing a post to ViewBean from a form which implies youwant
to handle some kind web action.
The way JATO enforces this is to check for the prescence of pageAttributes
in the request (implemented using hidden fields)
which you have in your form.
Kostas
-----Original Message-----
From: Mark_Dubinsky@p... [mailto:<a href="/group/SunONE-JATO/post?protectID=174166091163159191130171186101229144026098131198043123114199021239115076086020224">Mark_Dubinsky@p...</a>]
Sent: Tuesday, October 02, 2001 10:04 PM
Subject: [iPlanet-JATO] Exception when trying to post to a page
In NetD we created and submitted a form with JavaScript.
The form looked something like this
<FORM ACTION=pgXYZ METHOD=POST>
<INPUT TYPE=hidden NAME=SPIDERSESSION VALUE=12345>
</FORM>
So now in Jato, we're trying to do the exact same thing,
except that instead of SPIDERSESSION, we use the three Jato
variables. Now the form is like this:
<FORM ACTION=pgXYZ METHOD=POST>
<INPUT TYPE=hidden NAME=GXHC_GX_jst VALUE=12345>
<INPUT TYPE=hidden NAME=GXHC_gx_session_id_ VALUE=12345>
<INPUT TYPE=hidden NAME=pageAttributes VALUE=12345>
</FORM>
Notice we're not submitting to a handler, but just to the page itself.
When we do this, we get an exception:
[02/Oct/2001 16:29:59:4] error: Exception: SERVLET-execution_failed:
Error in executing servlet portalServlet:
javax.servlet.ServletException: The request was not be handled by the
specified handler
Exception Stack Trace:
javax.servlet.ServletException: The request was not be handled by the
specified handler^M
at
com.putnaminvestments.common.jato.ApplicationServletBase.dispatchReque
st(ApplicationServletBase.java:668)^M
at
com.putnaminvestments.common.jato.ApplicationServletBase.processReques
t(ApplicationServletBase.java:428)^M
at
com.putnaminvestments.common.jato.ApplicationServletBase.doPost(Applic
ationServletBase.java:296)^M
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:772)^M
at
com.putnaminvestments.bp.bpServletBase.service(bpServletBase.java:139)
^M
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)^M
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)^M
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknow
n Source)^M
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)^M
at com.kivasoft.thread.ThreadBasic.run(Native Method)^M
at java.lang.Thread.run(Thread.java:479)^M
So what are we missing??
[email protected]
[Non-text portions of this message have been removed]
[email protected] -
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.
Maybe you are looking for
-
CE Bank Statement Auto-Reconciliation failure
Hey guys, We have this problem about auto-recon not finding a match even if the bank statement line has an equivalent available transaction for reconciliation. I am guessing it doesn't refer to the amount as the matching criteria. I checked Oracle su
-
I have to access an 8i (8.1.7) server from a win xp pro client. the cd i have is for nt/2000 and refuses to do anything on xp. i have downloaded the odbc driver and installed it (ora8177.exe). When i go to the administrative tools and try to add a ne
-
Why does my home wifi not work with my apple products
my computer, ipad, and ipod all say that when i connect to my house wifi there is no internet connection yet when i try to connect my xbox and galaxy phone the wifi works just fine i called the wireless company and they told me that the router is wor
-
I have the background color of Firefox set to black so that pages are black with light colored text. However, when Firefox is loading, and when I open a new tab or window, the page is initially white while searching for the website, then turns black
-
Everytime I turn on Airplay on my iPad the screen goes black and iPad gets really laggy?
It was working fine for about 20 minutes but now when I turn it on I just get a black screen and my iPad lags ridiculous amounts. I've reset Apple TV and the iPad but it's still happening. Any one else experienced this? Or have any solutions? Thanks