Querying user information fails 711..?!!!!

Hi, my phone is Asha 303....
I get crrrrrrazy with noka's problemss,, i need help i feel that i bought my phone to solve its problems!!!
Now with the new problem that when i open site in many times there is message ((bad Fu...in message)) say ((Querying user information fails)) and there is number 711 in top right of screen i think its problem code...
I dont know what to do to kill this message and in need your help i have alot of problem i will write soon but help me solve this that i dont know its reason....
**if nokia allow us to delet its browser and make another browser as default phone browser it will be better for all we and nokia corporation also....
Solved!
Go to Solution.

Moron wrote:
Default config. sett. ((what is the job of this))??  ---are these access points---
**it choosen (Etisalat), but when i click on it i found another ((friend caller, ETISALAT MMS, ETISALAT WEB, ETISALAT Streaming)),,and these etisalat repeated, i mean there is double of them like i found Etisalat mms two times,, and all etisalt also have double....
Personal, is the one you created. The other ones came with your phone (and got loaded because you inserted a Etisalat SIM). The duplicate might be a configuration send over-the-air which you accepted. Difficult to judge from the distance. Anyway, here you have to select ‘Personal’ now.
Moron wrote:
Default in all app. ((what is the job of this))?
A configuration consists of several accounts, for example ‘My Web’ is an account. ‘My Access Point’ is another account. ‘My Streaming’ is an account. Now, ‘Personal’ is a configuration. This menu-option makes sure all apps use your personal configuration because in some apps, for example in the MMS menu, you are able to select an account from a different configuration.
Moron wrote:
preferred access pt.  ((what is the job of this))?? --- if these access points so wahts the above #1!!-
That is the account ‘My access point’, the base for all other accounts except you override it there. For example, in ‘My web’ you are able to create a different access point, not using the preferred anymore. Because we used the default for all accounts, the preferred access point is the one you use for all of your accounts. In our case, these three menu items (default, default all, and preferred) all do the same, you are right. Please, use ‘My access point‘ here. Stay away from any WAP access point.
Moron wrote:
with opera it still cant download and the site cant define my mobile
Opera Mini does not send the model of your phone in the way, Nokia expects it. Therefore, you have to use the Nokia Xpress browser.

Similar Messages

  • AWS_ASSIGNED_ID to Query User Information

    I have a form where I have dropped process fields. I am trying to use the AWS_ASSINGED_ID field to query the LiveCycle DB for an LDAP name, which I then use to query LDAP for some information that automatically will populate in the form. The process works fine. If I invoke it via Workbench and enter in the user's ID manually, it give me the correct output.
    I put a variable logger on the front of the process and discovered that the ID value will not pass into the process if I invoke it via web service in the form. I have checked my binding 100 times and that AWS_ASSIGNED_ID is in fact bound to the input value for my data connection. Any ideas why this is causing a problem? Are there some type of setting(s) on the process fields that prevent using them for databinding?

    I figured it out. Nevermind. FYI, I had to disable "Generate Validation Scripts" for the data connection in question. That allowed it to work correctly. I'm not sure why.

  • CSOM (Javascript) Inner join CAML query on 'User Information List'

    I need to pull site user details like (email, display name, phone) from 'User information list' using a 'inner join' on a different list 'SiteOwners' where 'Contact' is a person or group field.
    The result object is not returning the details from 'User Information List' though it returns details from 'SiteOwners' list
    <script src="/_layouts/15/SP.runtime.js" type="text/javascript"></script>
    <script src="/_layouts/15/SP.js" type="text/javascript"></script>
    <script type='text/javascript'>
    'use strict';
    //$(document).ready(function() {
    function abc() {
    var context = SP.ClientContext.get_current();
    var web =context.get_web();
    var stownrlist = web.get_lists().getByTitle('SiteOwners');
    var camlqry = new SP.CamlQuery();
    camlqry.set_viewXml = "<View>" +
    "<Query></Query>" +
    "<ViewFields>" +
    "<FieldRef Name='Title'/>" +
    "<FieldRef Name='Contact'/>" +
    "<FieldRef Name='UserName'/>" +
    "<FieldRef Name='UserEMail'/>" +
    "<FieldRef Name='UserMobilePhone'/>" +
    "</ViewFields>" +
    "<ProjectedFields>" +
    "<Field Name='UserName' Type='Lookup' List='User Information List' ShowField='Name' />" +
    "<Field Name='UserEMail' Type='Lookup' List='User Information List' ShowField='EMail' />" +
    "<Field Name='UserMobilePhone' Type='Lookup' List='User Information List' ShowField='MobilePhone' />" +
    "</ProjectedFields>" +
    "<Joins>" +
    "<Join Type='INNER' ListAlias='User Information List'>" +
    "<Eq>" +
    "<FieldRef Name='Contact' RefType='Id'/>" +
    "<FieldRef List='User Information List' Name='ID'/>" +
    "</Eq>" +
    "</Join>" +
    "</Joins>" +
    "</View>";
    debugger;
    var stownritems = stownrlist.getItems(camlqry);
    context.load(stownritems);//, 'Include(Title,Contact,UserName,UserEMail,UserMobilePhone)');
    context.executeQueryAsync(
    Function.createDelegate(this, function () {
    debugger;
    var stownenm = stownritems.getEnumerator();
    while (stownenm.moveNext()) {
    var userid, loginname,email,name,mobilephone;
    if (stownenm.get_current().get_item('Contact') != null) {
    userid = stownenm.get_current().get_item('Contact').get_lookupId();
    loginname = stownenm.get_current().get_item('Contact').get_lookupValue();
    email = stownenm.get_current().get_item('ows_UserEMail');
    name = stownenm.get_current().get_item('UserName');
    mobilephone = stownenm.get_current().get_item('UserMobilePhone');
    }), function() {alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());});
    </script>
    Any suggestions / help please.
    Sai

    I identified the issue
    "camlqry.set_viewXml"  is a method (camlqry.set_viewXml()) not a property (as apposed to C#).
    The above should be like "camlqry.set_viewXml(querystring)" instead of "camlqry.set_viewXml =qrystring".
    Sai

  • Need Help to query Lync Database for User Information

    Need Help to Query the lync database to retrieve below user information.
    1. SIP Address of the registered user
            2. Phone Number configured to the particular account.
            3. IP Address
           4. Last Logged in time.
    I am trying to pull the above information from rtc database for all the registered users. Please let me know if this is possible and it would be great if you can throw some light on what tables to look for the data. Thank You.

    Hi,
    For SIP address and Phone number you can check RTC database.
    IP Address:
    You can refer to the link below to query IP address: 
    http://h30499.www3.hp.com/t5/Business-Service-Management-BAC/Monitoring-Lync-with-the-User-Registrations-Viewer-Free-NMC-tool/ba-p/5961497#.UtOU43mIrwo
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Last Logged in time:
    You can refer to the link below:
    http://blogs.technet.com/b/dodeitte/archive/2011/05/11/how-to-get-the-last-time-a-user-registered-with-a-front-end.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • User Authentication Failed error when trying to display a JSP portlet

    The steps carried out are as follows :
    1. Created a JSP file named "c.jsp" and deployed it under 902_MidTier_Home\j2ee\home\default-web-app\examples\jsp
    2. Created a table named USER_TABLE under Scott schema to store the usernames and passwords to validate this JSP application.
    3. Registered this JSP as an external application with the following values :
    Application Name           : RAGHU
    Login URL          : http://hostname:port/j2ee/examples/jsp/c.jsp
    User Name/ID Field Name     : username
    Password Field Name     : password
    Type of Authentication Used : POST
    3. Clicked on the External Application and entered the username as USER1 and password as USER1 ( These values are available
    under USER_TABLE for comparison ). Then it shows the message "Hi User1 .. Welcome message"
    4. Now created a directory named JSPSAMPLE under "WEB-INF\Providers" and put the provider.xml file under this.
    Created a raghu.properties file and placed it under "WEB-INF\deployment".
    5. Now tested the testpage using the URL " http://hostname:port/jpdk/providers/raghu " and it works fine.
    6. Registered this as a provider in Portal and added this portlet onto a page. Assigned this page to a newly created user.
    It gives the message " Authentication Failed - Update Login Information " which is expected. I click on the link and
    it takes me to the external application username password. I enter the credentials but this time it comes back again
    to the page with the same message " Authentication Failed - Update Login Information ".
    7. Basically the values are not passed to the Username and Password in jsp page which is why the problem occurs.
    The JSP Code used is as follows :
    <%@ page import="java.sql.*" %>
    <HTML>
    <HEAD><TITLE>DB Connectivity test</TITLE></HEAD>
    <BODY BGCOLOR="#FFFFFF">
    <CENTER>
    <B>user_table</B>
    <BR><BR>
    <%
    String username = request.getParameter("username");
    String password = request.getParameter("password");
    Connection conn = null;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection("jdbc:oracle:thin:@hostname:1521:iasdb","scott","tiger");
    Statement stmt = conn.createStatement();
    String query = "SELECT * FROM user_table where userid= '"+ username +"' and passwd = '" + password + "' " ;
    ResultSet rs = stmt.executeQuery(query);
    while(rs.next())
    out.println("<TR>");
    out.println(" <TD> hi " + rs.getString("userid") + ", welcome</TD>");
    out.println("</TR>");
    out.println("</TABLE>");
    catch(SQLException e)
    out.println("SQLException: " + e.getMessage() + "<BR>");
    while((e = e.getNextException()) != null)
    out.println(e.getMessage() + "<BR>");
    out.println("invalid userid,password");
    catch(ClassNotFoundException e)
    out.println("ClassNotFoundException: " + e.getMessage() + "<BR>");
    finally
    //Clean up resources, close the connection.
    if(conn != null)
    try
    conn.close();
    catch (Exception ignored) {}
    %>
    </CENTER>
    </BODY>
    </HTML>
    The Provider.xml file used is as follows :
    <?xml version="1.0" encoding="UTF-8"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
         <providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
         <session>true</session>
         <authentication class="oracle.portal.provider.v2.security.Authentication">
              <authType>ExternalApp</authType>
              <userFieldName>username</userFieldName>
              <userPwdName>password</userPwdName>
              <errorPageMessages>Raghu,Please sign in,Sign me up!</errorPageMessages>
         </authentication>
         <portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
              <id>1</id>
              <name>RaghuPortlet</name>
              <title>Raghu Mail Portlet</title>
              <description>This portlet is to test Integration services using mail.yahoo.com</description>
              <timeout>100</timeout>
              <timeoutMessage>Raghu timed out</timeoutMessage>
              <showEdit>false</showEdit>
              <showEditDefault>false</showEditDefault>
              <showPreview>false</showPreview>
              <showDetails>false</showDetails>
              <hasHelp>false</hasHelp>
              <hasAbout>false</hasAbout>
              <acceptContentType>text/html</acceptContentType>
              <registrationPortlet>false</registrationPortlet>
              <accessControl>public</accessControl>
              <renderer class="oracle.portal.provider.v2.render.RenderManager">
                   <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
                        <pageUrl>http://172.17.24.235:8888/c.jsp</pageUrl>
                        <contentType>text/html</contentType>
                        <filter class="oracle.portal.provider.v2.render.HtmlFilter">
                             <useAuthLinks>true</useAuthLinks>
                             <headerTrimTag>&lt;table width="100%" cellpadding=0 cellspacing=0 border=0>&lt;tr>&lt;td bgcolor=#9bbad6></headerTrimTag>
                             <footerTrimTag>&lt;table width="100%" cellpadding=2 cellspacing=1>&lt;tr>&lt;td bgcolor=#9bbad6></footerTrimTag>
                             <convertTarget>true</convertTarget>
                             <redirectUrlFieldName>.done</redirectUrlFieldName>
                        </filter>
                   </showPage>
              </renderer>
              <securityManager class="oracle.portal.provider.v2.security.URLSecurityManager">
                   <authorizType>registered</authorizType>
              </securityManager>
         </portlet>
    </provider>
    The Contents of raghu.properties file
    serviceClass=oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter
    loaderClass=oracle.portal.provider.v2.http.DefaultProviderLoader
    showTestPage=true
    definition=providers/raghu/provider.xml
    autoReload=true
    Any inputs regarding why the values are passed properly in case of External Application but not so when registered as
    a portlet in Portal.
    Regards
    Satish G

    As I can see from the information posted, you are trying to
    use URL-based portlet's SSO feature, though not in a correct
    way.
    The SSO feature of URL-based portlets relie on the usage
    of Cookies as authentication tokens. For example, in the
    present context, http://hostname:port/j2ee/examples/jsp/c.jsp
    will write a cookie to the client upon successfull authentication.
    Subsequent access to the same JSP or some other JSP in the same
    workspace should be checking for the existence of this particular
    cookie at the client side and if found should not prompt for
    user information again.
    If you can fine tune your existing applications as per above
    conditions, then everything should work fine. Else you might
    want to use page parameters to pass user information.
    For more information on page parameters, please visit
    http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO&12678_PDKHOME902_39847486.p_subid=249821&12678_PDKHOME902_39847486.p_sub_siteid=73&12678_PDKHOME902_39847486.p_edit=0#NEW1

  • CR VS 2013 error: Additional information: Failed to load database information.

    We have VS 2008 (V9.0.30729.1 SP1) using .Net 3.5 under Windows Server 2003 R2 Data Center Edition. VS 2008 came with Crystal Reports Version 10.5.3700.0. We developed a little report in a winform to run against Oracle 11gR2 using the OLE DB support in the CR Report Wizard in the VS 2008 IDE. It was a standard report with some code to print the report directly to the printer with out the viewer control. Here is the working code:
    Imports System.Data.OleDb
    Imports System.Data
    Imports System
    Imports System.Windows.Forms
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
        Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim crReportDocument As New CrystalReport1()
            Dim DataSet1 As DataSet
            Dim adoOleDbConnection As OleDbConnection
            Dim adoOleDbDataAdapter As OleDbDataAdapter
            Dim connectionString As String = ""
            connectionString = "Provider=OraOLEDB.Oracle;"
            connectionString += "Data Source=OURDBNAME;"
            connectionString += "User ID=OURUSERID;Password=OURPSW"
            adoOleDbConnection = New OleDbConnection(connectionString)
            Dim sqlString As String = ""
            sqlString = "SELECT * FROM edi_filing_source_lov where filing_source_code in ('A','E')"
            adoOleDbDataAdapter = New OleDbDataAdapter(sqlString, adoOleDbConnection)
            DataSet1 = New DataSet()
            adoOleDbDataAdapter.Fill(DataSet1, "edi_filing_source_lov")
            crReportDocument.Database.Tables(0).SetDataSource(DataSet1)
            crReportDocument.PrintOptions.PrinterName = "HP_LaserJet_4350_PCL_5e_Info_Tech"
            crReportDocument.Refresh()
            crReportDocument.PrintToPrinter(1, False, 1, 99)
            Me.Close()
        End Sub
    End Class
    We want to migrate this report to VS 2013. We installed VS 2013 Professional (V12.0.30110.00 Update 1) under Windows Server 2012 R2 Data Center Edition. We downloaded CRforVS_13_0_9 and installed it in VS 2013. We moved the project from VS 2008 and opened it under VS 2013. It looks like it converted OK. When we run it we get the following error:
    An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll
    Additional information: Failed to load database information.
    Error in File temp_f11eb1be-db98-4d33-800c-4db3b36ab14e {EEB2A9E4-8239-49CB-B016-8CE4F4C7643E}.rpt:
    Failed to load database information.
    More information: We can step through the wizard in VS 2013 using the standard template and add a report viewer control to the form and point it at the report and run it just fine in the VS 2013 IDE when there is no code in the form1_load event. We feel we have the Oracle.DataAccess.dll for the 11.2.0 client installed and tested correctly on the server and do not feel there is an issue with data base installation. When we add back the code above to the form1_load event and run it we get the error above.
    We have the logger set up but nothing gets added to the log files.
    We have tried three different ways to set the data source to resolve the error that is occurring at this line of code that is failing but with no luck:
    crReportDocument.Database.Tables(0).SetDataSource(DataSet1)
    crReportDocument.SetDataSource(DataSet1)
    crReportDocument.Database.Tables(0).SetDataSource(DataSet.Tables("edi_filing_source_lov"))
    Do you have any other suggestions we could try?
    Bruce

    Hi Bruce
    In my experience, the only reason for the error is that the there is an issue with the dataset and as a back up sort of a thing, the report engine is attempting to connect to the database the report was created off of. To test the dataset with the report, see this wiki on how to.
    Also, ensure that you have a look at this KBA.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Query user ACL results in exception, PortalException, Invalid pointer AxisFault

    Hi,
    I am developing a remote portlet application in Java for plumtree portal v 5.0.3, using EDK library v 5.0. The requirement is to determine if the user accessing the application has "Admin" privileges for the portlet or not.. For this, I query User (and all the user's groups) ACL to check if the AccessLevel is Admin. This method seemed to work fine on the development environment but fails on staging environment. I have checked the SOAP-API-URI and other settings like sending Login Tokens etc, and all seems to be fine. The application is written in Java hosted on a UNIX box, while the portal is on Windows environment.
    Following is the code where the error occurs:
    IPortletContext edk = PortletContextFactory.createPortletContext(request, response); IRemoteSession remoteSession = edk.getRemotePortalSession(); //IRemoteSession remoteSession = RemoteSessionFactory.getTokenContext(edk.getRequest().getRemoteAPIEndpoint(), edk.getRequest().getLoginToken()); -- Tried this but no difference
    IPortletManager portletManager = remoteSession.getPortletManager(); logger.debug("Got Remote portal session");
    int portletId = edk.getRequest().getPortletID(); IACL acl = portletManager.queryACL(portletId);<-- This is where it breaks
    Following is the exception stacktrace that I get.
    AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultString: Server was unable to process request. --> Invalid pointer faultActor: null faultDetail: stackTrace: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultString: Server was unable to process request. --> Invalid pointer faultActor: null faultDetail:
    Server was unable to process request. --> Invalid pointer at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:135) at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:949) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1203) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:294) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:261) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:147) at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:286) at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546) at org.apache.axis.Message.getSOAPEnvelope(Message.java:377) at org.apache.axis.client.Call.invokeEngine(Call.java:2132) at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851) at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315) at com.plumtree.remote.prc.soap.DirectoryAPISoapBindingStub.queryACL(Unknown Source) at com.plumtree.remote.prc.soap.DirectoryProcedures.QueryACL(Unknown Source) at com.plumtree.remote.prc.xp.XPACLPersistence.QueryEntries(Unknown Source) at com.plumtree.remote.prc.xp.XPACLPersistence.QueryACL(Unknown Source) at com.plumtree.remote.prc.xp.XPObjectManager.queryACL(Unknown Source) at com.plumtree.remote.prc.ObjectManagerWrapper.queryACL(Unknown Source) at com.enbridge.txb.web.shared.security.PortalAuthenticationUtil.isUserACLAdmin(PortalAuthenticationUtil.java:159) at com.enbridge.txb.web.shared.security.SetAdminPrefsAction.getAdminPrefs(SetAdminPrefsAction.java:82) at java.lang.reflect.Method.invoke(Native Method) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:278) at com.enbridge.txb.web.shared.BaseAction.execute(BaseAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Unknown Source)
    Server was unable to process request. --> Invalid pointer at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:135) at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:949) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1203) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:294) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:261) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:147) at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:286) at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546) at org.apache.axis.Message.getSOAPEnvelope(Message.java:377) at org.apache.axis.client.Call.invokeEngine(Call.java:2132) at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851) at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315) at com.plumtree.remote.prc.soap.DirectoryAPISoapBindingStub.queryACL(Unknown Source) at com.plumtree.remote.prc.soap.DirectoryProcedures.QueryACL(Unknown Source) at com.plumtree.remote.prc.xp.XPACLPersistence.QueryEntries(Unknown Source) at com.plumtree.remote.prc.xp.XPACLPersistence.QueryACL(Unknown Source) at com.plumtree.remote.prc.xp.XPObjectManager.queryACL(Unknown Source) at com.plumtree.remote.prc.ObjectManagerWrapper.queryACL(Unknown Source) at com.enbridge.txb.web.shared.security.PortalAuthenticationUtil.isUserACLAdmin(PortalAuthenticationUtil.java:159) at com.enbridge.txb.web.shared.security.SetAdminPrefsAction.getAdminPrefs(SetAdminPrefsAction.java:82) at java.lang.reflect.Method.invoke(Native Method) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:278) at com.enbridge.txb.web.shared.BaseAction.execute(BaseAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Unknown Source)
    can anyone please help me? :-(
    Thanks,Gaurav

    Hi,
    By default on CE SLD is not available. Please go through this to configure SLD
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20c58fff-0c62-2b10-4381-9ac4d920a8cc
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09527da-39a7-2b10-9f99-c6a007e516a5
    Regards
    Ayyapparaj

  • Custom reprot to get transfer user information in OIA 11g

    Hi ,
    As per my requirement we have to developed custom report for "*List of users who transferred to a new Direct Manager*" . To identify the transfer event we are using event listner in OIA 11g. Could you please provide me pointer how to fetch the transfer event in the query or what is the best way to get the transfer user information.
    Regards,
    Amit

    You're biggest problem is knowing which users get new managers.
    2 Ways on looking at this
    1 - Users associated to businessunits (different managers are associated to different businessunits)
    2 - The users attribute 'manager' gets updated
    Both situations don't withhold the information when associations or which attributes (and when) get updated other than the 'last updated' date gets updated.
    Possible solution - Create a new table (with the exact schema as the original table but without the constraints), copy all the information over from the original table to the new table, do the imports/updated. Once the updates are complete run a custom report and compare the difference between the old and new data
    If it's #1, you need to duplicate the rbacxservice.BU_globalusers table
    If it's #2, you need to duplicate the globalusers table
    Regards,
    Daniel

  • URL iView Problem - How to Use URL Parameter of Type 'User Information'

    Hello URL iView experts
    I am currently working on integration of backend-functionality with the help of an URL iView.
    I want to use a parameter of type 'User Information'. In SAP Help Library it is said, that it is possible to set the value of a parameter according to a dynamic query on the users attributes. (Link SAP HELP)
    It is also said, that one can retrieve the Logon ID of the users account.(Attribute Name: j_user -> Link SAP HELP Attributes )
    I can choose the type 'User Information' but i don't know what to specify in the field 'Value'.
    I have made a screenshot of the problem.->[Link to screenshot|http://img66.imageshack.us/img66/7782/urliviewproblemfrsdnthrel3.jpg]
    But if i am calling the application this way, he doesn't retrieve the Logon-ID of the account, but he just uses the 'j_user' as value for the parameter.
    Can you tell me, what i need to specify in the field value?
    Best Regards
    Marcus
    Edited by: Marcus Böhm on Jun 2, 2008 1:22 PM

    Hi Marcus,
    > It is also said, that one can retrieve the Logon ID of the users account
    This is not correct; on the help.sap.com-page concerning the URL-iView-Parameters, it is printed that "other attributes (general, account, group, role) are not supported". The j_user attribute is part of the account group, so - not supported.
    For your needs, it may be a better choose to use the AppIntegrator, which offers such a possibility by using "<User.LogonUid>"; see http://help.sap.com/saphelp_nw70/helpdata/EN/36/5e3842134bad04e10000000a1550b0/frameset.htm and https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0cbc309-ff89-2a10-8bad-bcde4c152ecb
    Hope it helps
    Detlev

  • How to Pre-Populate the user information during Assign Task operation

    Hi ,
    I have a requrirement to Pre-Populate the form fields (Name, Email, Phone etc...) when a task is assigned to a user. The users are dynamically assiged, so I am using the Find User and the Assign Task services to locate and assign the task to the user. Since I have a User variable that is a result from the Find User operation, I was hoping to retrieve the user information with the attributes of the User type.
    I tried to use the Set Value service to set the form field (Email) with the email attribute of the User object type i.e.
    /process_data/MyForm/object/data/xdp/datasets/data/Form/User/Email   ->  /process_data/facilityAuthority/object/@email
    However I get the following error when I try to do this - com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: [B@335d of type: [B to type: interface org.w3c.dom.Document.
    Is it possible to retrieve the user information from the User object? If so how do I get the values for the User attributes (Name, Email & Phone etc...) so that I can populate them in the form?
    Thanks,
    Samanthapudi

    Hi Han Dao,
    If you are facing an exception of the form "com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: [B@335d of type: [B to type: interface org.w3c.dom.Document.", It is because the system is trying to cast a Byte Stream into w3c Document and failing. To resolve this we can explicitly cast this byte stream to appropriate data type (String in previous example). To do so we can use a SetValue operation.
    As an example
    Setting
    /process_data/MyForm/object/data/xdp/datasets/data/Form/User/Email   -> /process_data/facilityAuthority/object/@email
    results in the exception
    so we can modify it to
    /process_data/MyForm/object/data/xdp/datasets/data/Form/User/Email   -> string(/process_data/facilityAuthority/object/@email)
    Please let me know if this does not resolve your issue.
    Thanks

  • Displaying the current users information instead of the value of the person who completed the form in the first place.

    I found this fantatic post regarding querying the user profile service 
    http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx?pi47623=2#comments 
    However i have an issue whenever the form is opened again either to view or edit, it displays the current users information
    instead of the value of the person who completed the form in the first place.
    Please help me, I'm turning more grey each minute

    I think it is how the current user information is stored based on your logic.
    You might be quering current value again when loading the form (Form load Rule).
    you have to tweak your logic, after the user submits the form you can set the username to the one who saved it.
    or in form load, write a logic to see if the form was not saved before and then query the username( by using internal field like "formstatue")
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • Kerberos Configuration Manager for SQL Server: Access of system information failed!

    I'm trying to use the new Kerberos Configuration Manager for SQL Server tool that was released recently to verify SPN on several SQL Servers, but any time I attempt to connect to a server I get the following error in the log:
    6/24/2013 3:48:22 PM Info: Connect to WMI, \\<HOSTNAME>\root\cimv2
    6/24/2013 3:48:25 PM Error: Access of system information failed System.DirectoryServices.AccountManagement.PrincipalOperationException: An error (1332) occurred while enumerating the group membership.  The member's SID could not be resolved.
       at System.DirectoryServices.AccountManagement.SAMMembersSet.IsLocalMember(Byte[] sid)
       at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNextLocal()
       at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNext()
       at System.DirectoryServices.AccountManagement.FindResultEnumerator`1.MoveNext()
       at System.Linq.Enumerable.Contains[TSource](IEnumerable`1 source, TSource value, IEqualityComparer`1 comparer)
       at KerberosCM.WMIHelper.isUserLocalAdmin(SystemInfo si, UserPrincipal user)
       at KerberosCM.WMIHelper.getUserInfo(SystemInfo mi)
    6/24/2013 3:48:25 PM Error: Error System.Exception: Access of system information failed!
       at KerberosCM.WMIHelper.getUserInfo(SystemInfo mi)
       at KerberosCM.SystemInfo.GetInfo()
       at KerberosConfigMgr.Utility.Login(String serverName, String login, String password, Boolean isCmdLine, Form uiForm)
    Things I have tried to resolve this:
    1. Verified that my account is a Domain Admin.
    2. Attempt to connect locally without inputting any information for server/user/pw
    3. Attempt to connect remotely using server/user/pw
    I always receive the same error message and log: Access of system information failed!
    Has anyone else run into this issue?

    Update to this:
    There were some invalid user accounts added to the Local Administrators group only showing up as a GUID. This caused the enumeration of the group to fail and generate the error in my original post. Removing those user accounts from the Administrators group
    got past the enumeration error.
    However, now when attempting to connect to the servers (locally or remotely) I get this error:
    6/27/2013 10:24:24 AM Info: Connect to WMI, \root\cimv2
    6/27/2013 10:24:38 AM Error: Access of system information failed System.Runtime.InteropServices.COMException (0x80070035): The network path was not found.
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at System.DirectoryServices.AccountManagement.SAMStoreCtx.ResolveCrossStoreRefToPrincipal(Object o)
       at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNextForeign()
       at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNext()
       at System.DirectoryServices.AccountManagement.FindResultEnumerator`1.MoveNext()
       at System.Linq.Enumerable.Contains[TSource](IEnumerable`1 source, TSource value, IEqualityComparer`1 comparer)
       at KerberosCM.WMIHelper.isUserLocalAdmin(SystemInfo si, UserPrincipal user)
       at KerberosCM.WMIHelper.getUserInfo(SystemInfo mi)
    6/27/2013 10:24:38 AM Error: Error System.Exception: Access of system information failed!
       at KerberosCM.WMIHelper.getUserInfo(SystemInfo mi)
       at KerberosCM.SystemInfo.GetInfo()
       at KerberosConfigMgr.Utility.Login(String serverName, String login, String password, Boolean isCmdLine, Form uiForm)

  • Completely avoid passing of Oracle user informations thru http

    Hi friends,
    I am using Oracle 10g Application Server & Oracle 10g Forms & Report services. But I have to pass all the parameters thru a query String. So the problem is all the endusers can view the Database details by taking the properties.
    #) I want to set the Database Logon information some where in any confiruration file and this should read when calling forms. so that i can avoid passing of Database user informations. Is there any way to configure like this?
    #) Multiple applications are running on Oracle AS and each applications are using defferent schema. How can I set the different User Informations in the configuration file.
    I want to completely avoid passing of Oracle user informations thru http.
    thanks & regards
    Lakmal

    Hello Lakmal,
    As I said, you can edit formsweb.cfg and a user parameter section. For example, lets take yur sample url:
    add this section to formsweb.cfg:
    [change]
    userid=lakmal/mabil@ewis
    form=change.fmx
    note:
    it is better to make the edit at EM console itself.
    Then when you will run the form use this url:
    http://dunhinda.com/forms90/f90servlet?config=change
    The url has been shortened and your username and password is hidden.
    and if your user would run diffeent forms, you can drop the form=change.fmx and speficify form name in the url like
    section in formsweb.cfg
    [lakmal]
    userid=lakmal/mabil@ewis
    then the url will now be:
    http://dunhinda.com/forms90/f90servlet?config=change&form=formname.fmx
    Regards

  • How to query user across multiple forest with AD powershell

    Hi Guys
      Our situation like this , we have two forest ,let say forestA.com and forestB.com, and they are many subdomian in forest A.
      I'd like to write a script to the AD object information via get-adobject -identify xxxx
      My accont belongs to forestA.com , and the computer i logged on belongs to forestB.com ,A & B have forest trust.
      Now the problem is if the object i quried belngs to forestB.com ,the Get-ADObject works fine ,however if the object belongs to forestA.com ,i got the error "Get-ADObject: Cannot find a object with identify: 'xxxx' under: 'DC=forestB,DC=com'.
      So how can i have a script than can query user in both forest

    Prepared this some time ago for a PowerShell Chalk & Talk. Just change the forest names and credentials. Each Active Directory cmdlet you are calling works on the current drive. So to switch between the forests you need just change the drive / location.
    This is also quite nice for migration scenarios.
    $forests = @{
    'forest1.net' = (New-Object pscredential('forest1\Administrator', ('Password1' | ConvertTo-SecureString -AsPlainText -Force)))
    'forest2.net' = (New-Object pscredential('forest2\Administrator', ('Password2' | ConvertTo-SecureString -AsPlainText -Force)))
    'forest3.net' = (New-Object pscredential('forest3\Administrator', ('Password3' | ConvertTo-SecureString -AsPlainText -Force)))
    'a.forest1.net' = (New-Object pscredential('a\Administrator', ('Password1' | ConvertTo-SecureString -AsPlainText -Force)))
    'b.forest1.net' = (New-Object pscredential('b\Administrator', ('Password1' | ConvertTo-SecureString -AsPlainText -Force)))
    Import-Module -Name ActiveDirectory
    $drives = $forests.Keys | ForEach-Object {
    $forestShortName = ($_ -split '\.')[0]
    $forestDN = (Get-ADRootDSE -Server $forestShortName).defaultNamingContext
    New-PSDrive -Name $forestShortName -Root $forestDN -PSProvider ActiveDirectory -Credential $forests.$_ -Server $forestShortName
    $result = $drives | ForEach-Object {
    Set-Location -Path "$($_):"
    Get-ADUser -Identity administrator
    $drives | Remove-PSDrive -Force
    $result
    -Raimund

  • Java.sql.SQLException: User: fusionEJB3, failed to be authenticated

    Dear experts,
    My intention was to call a pojo, (ProductCatalog) from a servlet (SimpleRestServlet) in order to query a db entity for products in xml form.
    The original thought was to be able to get the products via a servlet, but the entity manager is null:
    Thus, what I get is:
    Target URL -- http://localhost:7101/example8-1/products.jsp
    DoGet invoked on RESTful service.
    <Aug 22, 2011 7:12:09 AM GMT> <Error> <HTTP> <BEA-101020> <[ServletContext@335926353[app:chapter8 module:example8-1 path:/example8-1 spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at com.soacookbook.ProductCatalog$beaVersion0_15.getAllProducts(ProductCatalog.java:38)
         at com.soacookbook.ProductCatalog.getAllProducts(ProductCatalog.java)
         at com.soacookbook.ProductCatalog.<init>(ProductCatalog.java:29)
         at com.soacookbook.web.SimpleRestServlet$beaVersion0_14.doGet(SimpleRestServlet.java:45)
         at com.soacookbook.web.SimpleRestServlet.doGet(SimpleRestServlet.java)
         Truncated. see log file for complete stacktrace
    However, if I create a stateless session bean, the generated java SE client is working well!
    I start with the error logs; the full code will follow.
    If i use the servlet to access the product entity I get:
    <Aug 21, 2011 1:48:07 PM GMT> <Alert> <EclipseLink> <BEA-2005000> <2011-08-21 13:48:07.826--ServerSession(2081428224)--Local Exception Stack:
    Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: User: fusionEJB3, failed to be authenticated.
    Error Code: 0
         at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309)
         at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:138)
         at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94)
         at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
         at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:327)
         at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:291)
         at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:415)
         at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:155)
         at org.eclipse.persistence.sessions.server.ExternalConnectionPool.startUp(ExternalConnectionPool.java:118)
         at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:495)
         at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:627)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:230)
         at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:389)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:164)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:221)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:209)
         at com.soacookbook.ProductCatalog.getAllProducts(ProductCatalog.java:46)
         at com.soacookbook.ProductCatalog.<init>(ProductCatalog.java:27)
         at com.soacookbook.SimpleRestServlet.doGet(SimpleRestServlet.java:41)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    <?xml version="1.0" encoding="UTF-8" ?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
    version="1.0">
    <persistence-unit name="example8-1">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <!--jta-data-source>jdbc/fusionEJB3</jta-data-source>
    <non-jta-data-source>jdbc/fusionEJB3</non-jta-data-source-->
    <class>com.soacookbook.entities.Product</class>
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="javax.persistence.jtaDataSource"
    value="jdbc/fusionEJB3"/>
    <property name="javax.persistence.jdbc.driver"
    value="oracle.jdbc.OracleDriver"/>
    <property name="javax.persistence.jdbc.url"
    value="jdbc:oracle:thin:@localhost:1521:orcl"/>
    <property name="javax.persistence.jdbc.user" value="fusionEJB3"/>
    <property name="javax.persistence.jdbc.password"
    value="57DAF0ADC12F7C37C6EC6D357C70ABD33754E34C120EB192D80F6E3B564BA6C8"/>
    <property name="eclipselink.logging.level" value="ALL"/>
    <property name="eclipselink.target-database" value="Oracle11"/>
    </properties>
    </persistence-unit>
    <persistence-unit name="JavaSEClient" transaction-type="RESOURCE_LOCAL">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <class>com.soacookbook.entities.Product</class>
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.target-database" value="Oracle"/>
    <property name="javax.persistence.jdbc.driver" value="oracle.jdbc.OracleDriver"/>
    <property name="javax.persistence.jdbc.password" value="fusionEJB3"/>
    <property name="javax.persistence.jdbc.user" value="fusionEJB3"/>
    <property name="eclipselink.logging.level" value="ALL"/>
    <property name="eclipselink.orm.validate.schema" value="true"/>
    <property name="javax.persistence.jdbc.url" value="jdbc:oracle:thin:@hera:1521:orcl"/>
    </properties>
    </persistence-unit>
    </persistence>
    package com.soacookbook;
    import com.soacookbook.entities.Product;
    import java.util.ArrayList;
    import java.util.Hashtable;
    import java.util.Iterator;
    import java.util.List;
    import javax.persistence.EntityManager;
    import javax.persistence.EntityManagerFactory;
    import javax.persistence.Persistence;
    import javax.persistence.Query;
    import javax.xml.bind.annotation.XmlRootElement;
    @XmlRootElement
    public class ProductCatalog {
    private EntityManager entityManager;
    private Hashtable emProps = new Hashtable();
    private List<Product> products;
    public ProductCatalog() {
    super();
    products= this.getAllProducts();
    public List<Product> getAllProducts(){
    EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("example8-1");
    entityManager= entityManagerFactory.createEntityManager(emProps);
    Query query= entityManager.createNamedQuery("Product.findAll");
    System.out.println(" Results number: " + query.getMaxResults());
    return query.getResultList();
    public void setProducts(List<Product> products) {
    this.products = products;
    package com.soacookbook;
    import java.io.IOException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.JAXBException;
    import javax.xml.bind.Marshaller;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    public class SimpleRestServlet extends HttpServlet {
    private static final String CONTENT_TYPE = "text/xml; charset=UTF-8";
    private static final String DOC_TYPE = null;
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    public SimpleRestServlet() {
    super();
    protected void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException,
    IOException {
    System.out.println("DoGet invoked on RESTful service.");
    ProductCatalog catalog = new ProductCatalog();
    Source xmlSource = asXml(catalog);
    ServletOutputStream out = response.getOutputStream();
    response.setContentType("text/xml");
    StreamResult st = new StreamResult(out);
    try {
    Transformer t = TransformerFactory.newInstance().newTransformer();
    t.transform(xmlSource, st);
    } catch (Exception e) {
    throw new ServletException(e);
    System.out.println("All done.");
    private static Source asXml(ProductCatalog pc) throws ServletException {
    System.out.println("Marshalling...");
    Source source = null;
    Document doc = null;
    try {
    JAXBContext ctx = JAXBContext.newInstance(ProductCatalog.class);
    Marshaller m = ctx.createMarshaller();
    DocumentBuilder parser =
    DocumentBuilderFactory.newInstance().newDocumentBuilder();
    doc = parser.newDocument();
    System.out.println("Products=" + pc);
    m.marshal(pc, doc);
    System.out.println("Marshalled catalog to XML.");
    } catch (JAXBException je) {
    throw new ServletException(je);
    } catch (ParserConfigurationException pce) {
    throw new ServletException(pce);
    source = new DOMSource(doc);
    System.out.println("Returning XML source.");
    return source;
    protected void doPost(HttpServletRequest request,
    HttpServletResponse response) throws ServletException,
    IOException {
    doGet(request, response);
    package com.soacookbook.entities;
    import java.io.Serializable;
    import java.math.BigDecimal;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    import javax.xml.bind.annotation.XmlType;
    @XmlType
    @Entity
    @NamedQueries( { @NamedQuery(name = "Product.findAll",
    query = "select o from Product o") })
    public class Product implements Serializable {
    private String id;
    private String name;
    private BigDecimal price;
    public Product() {
    public Product(String id, String name, BigDecimal price) {
    this.id = id;
    this.name = name;
    this.price = price;
    @Id
    @Column(nullable = false)
    public String getId() {
    return id;
    public void setId(String id) {
    this.id = id;
    public String getName() {
    return name;
    public void setName(String name) {
    this.name = name;
    public BigDecimal getPrice() {
    return price;
    public void setPrice(BigDecimal price) {
    this.price = price;
    Finally, the perfectly working java SE client:
    package com.soacookbook.client;
    import com.soacookbook.ProductCatalog;
    import com.soacookbook.entities.Product;
    import java.util.ArrayList;
    import java.util.Hashtable;
    import java.util.Iterator;
    import java.util.List;
    import javax.persistence.EntityManager;
    import javax.persistence.EntityManagerFactory;
    import javax.persistence.Persistence;
    import javax.persistence.Query;
    public class ProductCatalogSEClient {
    private EntityManager entityManager;
    private Hashtable emProps = new Hashtable();
    public ProductCatalogSEClient() {
    super();
    public static void main(String[] args) {
    ProductCatalogSEClient productCatalogSEClient = new ProductCatalogSEClient();
    List<Product> products = productCatalogSEClient.getAllProducts();
    Iterator i = products.iterator();
    while (i.hasNext())
    Product product = (Product) i.next();
    System.out.println("Id:"+ product.getId() +" Name:"+product.getName() + " price " + product.getPrice());
    public List<Product> getAllProducts(){
    EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("JavaSEClient");// not the same with example8-1 !
    entityManager= entityManagerFactory.createEntityManager(emProps);
    Query query= entityManager.createNamedQuery("Product.findAll");
    System.out.println(" Results number: " + query.getMaxResults());
    return query.getResultList();
    Thanks in advance for any help!
    NA
    Edited by: NA on Aug 22, 2011 10:56 AM

    Thank you for your reply!
    It ran successfully having the following modifications:
    <?xml version="1.0" encoding="UTF-8" ?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
    version="1.0">
    <persistence-unit name="example8-1">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>jdbc/fusionEJB3</jta-data-source>
    <class>com.soacookbook.entities.Product</class>
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.target-database" value="Oracle"/>
    <property name="eclipselink.logging.level" value="ALL"/>
    </properties>
    </persistence-unit>
    <persistence-unit name="JavaSEClient" transaction-type="RESOURCE_LOCAL">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <class>com.soacookbook.entities.Product</class>
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.target-database" value="Oracle"/>
    <property name="javax.persistence.jdbc.driver" value="oracle.jdbc.OracleDriver"/>
    <property name="javax.persistence.jdbc.password" value="fusionEJB3"/>
    <property name="javax.persistence.jdbc.user" value="fusionEJB3"/>
    <property name="eclipselink.logging.level" value="ALL"/>
    <property name="eclipselink.orm.validate.schema" value="true"/>
    <property name="javax.persistence.jdbc.url" value="jdbc:oracle:thin:@hera:1521:orcl"/>
    </properties>
    </persistence-unit>
    </persistence>
    Strangely, the password string fusionEJB3, however changed to:
    <property name="javax.persistence.jdbc.password"
    value="57DAF0ADC12F7C37C6EC6D357C70ABD33754E34C120EB192D80F6E3B564BA6C8"/>
    Edited by: NA on Aug 23, 2011 9:48 AM

Maybe you are looking for

  • Ideas for lastest chipsets and computing hardware

    i have many ideas for silicone based builds and i would like input from everyone if you wish. discrete graphics are great and i believe that both Intel and AMD have made great recent leaps in this architecture and i give them both respect. i believe

  • Adobe Premier Pro CS3 Debug event

    I have Preimeir Pro CS3 with a Debug Event error    ..\..\Src\Audo\monitormixer.cpp-153 what is it, how do i fix it

  • Web Service Operation Returning null

    Hi All, I have a web service proxy generated from WSDL. Which is generated fine. Once i started using the operations in the Client program. the call to the webservice is successful but the return type(This is a complex type, referring to different el

  • R/3 to XI through Proxy

    Hello All, When I use SPROXY in R/3 all interfaces are greyed out. Also when I do Connection Test it gives message  "Integration Builder address not      maintained" Pls send blogs/links for configuring the above message. Regards

  • How can I add a new mailbox?

    would appreciate your help can't find out how to add a mailbox Many Thanks