Error while using sybase trigger with the CMP entity bean,ejb version 2.1

Hi All,
I am using ejb version 2.1 and using entity bean (Transaction required) ,i am trying to update data in sybase(ver 12.3) database table
I am using session bean(Transaction required) to update the multiple entity beans in a while loop.It is working fine .But when i am trying to run it with the trigger which updates multiple tables in different sybase databases on update of each entity.Then it throws NoSuchEntityException and it rollback the whole transaction.
My trigger has only few simple update statements and the trigger runs fine without my CMP entity bean.is the CMP does not support the update triggers in sybase or is it the problem with the transaction.
Please help
Thanks
Anshu

If you can have a look at a cmp example in the samples that ship with the server. My guess is that the weblogic-ejb-jar.xml file is missing the <persistence-use> element which for 810 would look like:
<persistence>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>7.0</type-version>
<type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
</persistence-use>
</persistence>
I seem to recall that the elements might be slightly different in structure for the wls700 version of the DTD, so please check that (I cannot, I'm at home and don't have everything here).
Give that a try and see if it doesn't solve your compilation failure.
Also, the compilation should not be throwing a null pointer exception in a case like that, I consider that to be a bug.
-thorick

Similar Messages

  • How to use same transaction when calling CMP entity beans and  DAO (JDBC)

    We are currently using Weblogic 8.1 SP2 with an Oracle 10g database (using XA thin and non-XA drivers).
    We have a session bean that invokes an entity bean and a DAO (data access object pattern) in order to add data in 2 separate tables (account and history). Rows are added to the first (account) table using a CMP Entity bean while inserts are done in the 2nd (history) table using a DAO. Here is some pseudo code:
    addHistorySessionBean (trans-attribute="Required")
    begin
    Step #1 - call addAccountEntityBean (trans- attribute="Required")
    Step #2 - call addHistoryDAO (get datasource, connection)
    end
    The 2nd table (history) has a foreign key constraint to ensure that the corresponding key exists in the first (account) table. Unfortunately, DAO inserts on the 2nd (history) table fail with a foreign key constraint violation (INTEGRITY CONSTRAINT VIOLATION - PARENT KEY NOT FOUND!) since they cannot see the row added to the 1st (account) table in step #1 by the CMP entity bean.
    How does one ensure that all this is done in a single transaction ? It appears that the app server creates two seperate transactions (one for the session bean facade and the entity bean and a 2nd transaction (when we retrieve a connection using the same data source JNDI name) for the DAO.
    A post on server side suggested using a "<resource-ref>" in the session bean to tie the two potentially separate transactions together, but that does not work for us. However, I am not sure if we are doing that correctly. After we define the resource ref in the session facade bean, do we use the resource ref "name" attribute to lookup the datasource or do we still lookup the datasource by JNDI name ? Do we need to define the resource-ref tag in the entity bean also ?
    Does Weblogic allow using a single transaction for this type of a scenario ? How does one specify within Weblogic that the same transaction should be utilized by the entity bean and any subsequent DAOs?
    People have also suggested that we defer constraint checking until the transaction(s) are committed but that sounds like a work acount without addressing this issue. Would postponing the constraint checking in Oracle cause any additional overhead ?
    Any suggestions with specific examples or documentation on how to address this issue will be gratefully appreciated.

    Thanks for your suggestion. Unfortunately, this does not work since it appears that there are 2 separate transactions going on here. One, the original one initiated by the session bean and used by the entity bean and the other initiated by the DAO. Any other ideas appreciated.
    Hi,
    Try setting the delay-database-inserts tag to
    ejbCreate in RDBMS descriptor file.
    http://bernal/stage/wls/docs81/ejb/DDreference-cmp-jar
    .html#1113981
    vasanthi ramesh

  • "Error while using XML iview" with XML iview template

    Our portal platform: HP-UX,  WAS 6.40 JAVA, EP 6.0 SP14
    We created an XML iview using XML iview template and configured the XML source URL with RSS feeder addresses such as"https://forums.sdn.sap.com/rss/rssmessages.jsp?forumID=41". And then select RSS to XHTMLB as the XML transformation format and save.  When I try to preview the iview, I always got error "Error while using XML iview, please contact your system administrator".  Here is the log and among which I found an error "java.net.UnknownHostException: news.163.com".  Does this indicate that the Portal server is not able to interpret the address of the URL host?
    #1.5#000F20196FBC0063000000080000623300043FCBAE39EA79#1196043941051#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.transformerservice#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_19##0#0#Error##Plain###Error during transformation using pipe: transformer-com.sap.portal.transformationservice-RSS_TO_XHTMLB-1.0;transformer-com.sap.portal.transformationservice-XHTMLBSAXHandler-1.0#
    #1.5#000F20196FBC00630000000A0000623300043FCBAE39EDB0#1196043941051#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_19##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
    #1.5#000F20196FBC005B0000001E0000623300043FCBCC12043B#1196044441749#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.java.lang.Class#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_37##0#0#Error##Java###Error openning connection when getting input stream for URL:http://news.163.com/special/00011K6L/rss_newstop.xml
    [EXCEPTION]
    #1#java.net.UnknownHostException: news.163.com
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
         at java.net.Socket.connect(Socket.java:474)
         at java.net.Socket.connect(Socket.java:424)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
         at sun.net.www.http.HttpClient.New(HttpClient.java:339)
         at sun.net.www.http.HttpClient.New(HttpClient.java:320)
         at sun.net.www.http.HttpClient.New(HttpClient.java:315)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:522)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:499)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:378)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:391)
         at com.sapportals.portal.pb.contentservice.fetcher.DataFetcher.OpenConnection(DataFetcher.java:117)
         at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.getInputStream(HTTPStreamSource.java:295)
         at com.sap.portal.httpconnectivity.transformationservice.PipeTransformer.transform(PipeTransformer.java:131)
         at com.sap.portal.httpconnectivity.transformationservice.EPBaseTransformer.transform(EPBaseTransformer.java:257)
         at com.sap.portal.httpconnectivity.transformationservice.TransformerService.transform(TransformerService.java:284)
         at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.transform(XMLTransformationIView.java:222)
         at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.doContent(XMLTransformationIView.java:87)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    And then I tried to upload an XML file on the portal server through KM and created another XML iview.  I got the same error message "Error while using XML iview....". But I found that the log contained different message:
    #1.5#000F20196FBC0059000000090000623300043FCC25CCAC4B#1196045947167#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.transformerservice#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_34##0#0#Error##Plain###Error during transformation using pipe: transformer-com.sap.portal.transformationservice-RSS_TO_XHTMLB-1.0;transformer-com.sap.portal.transformationservice-XHTMLBSAXHandler-1.0#
    #1.5#000F20196FBC00590000000B0000623300043FCC25CCAEDC#1196045947168#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_34##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
    #1.5#000F20196FBC005C000000180000623300043FCC5EB48FCF#1196046901893#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
    #1.5#000F20196FBC0066000000020000623300043FCC61683438#1196046947221#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
    #1.5#000F20196FBC00570000000D0000623300043FCC7B6DCFB3#1196047383789#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.java.lang.Class#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_30##0#0#Error##Java###Error openning connection when getting input stream for URL:http://bfepdev.bf.ctc.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Links/rss.xml
    [EXCEPTION]
    #1#java.io.IOException: Server returned HTTP response code: 401 for URL: http://bfepdev.bf.ctc.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Links/rss.xml
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at sun.net.www.protocol.http.HttpURLConnection$3.run(HttpURLConnection.java:840)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:834)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:601)
         at com.sapportals.portal.ivs.http.HttpClient.getResponseInputStream(HttpClient.java:615)
         at com.sapportals.portal.pb.contentservice.fetcher.DataFetcher.getInputStreamResponse(DataFetcher.java:182)
         at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.getInputStream(HTTPStreamSource.java:296)
         at com.sap.portal.httpconnectivity.transformationservice.PipeTransformer.transform(PipeTransformer.java:131)
         at com.sap.portal.httpconnectivity.transformationservice.EPBaseTransformer.transform(EPBaseTransformer.java:257)
         at com.sap.portal.httpconnectivity.transformationservice.TransformerService.transform(TransformerService.java:284)
         at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.transform(XMLTransformationIView.java:222)
         at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.doContent(XMLTransformationIView.java:87)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://bfepdev.bf.ctc.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Links/rss.xml
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:794)
         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:395)
         at com.sapportals.portal.pb.contentservice.fetcher.DataFetcher.OpenConnection(DataFetcher.java:117)
         at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.getInputStream(HTTPStreamSource.java:295)
         ... 37 more
    #1.5#000F20196FBC00570000000E0000623300043FCC7B6DD77E#1196047383800#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.transformerservice#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_30##0#0#Error##Plain###Error during transformation using pipe: transformer-com.sap.portal.transformationservice-RSS_TO_XHTMLB-1.0;transformer-com.sap.portal.transformationservice-XHTMLBSAXHandler-1.0#
    #1.5#000F20196FBC0057000000100000623300043FCC7B6DD9C8#1196047383801#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_30##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
    Anyone has any idea on this? thanks.

    Hi Yepin Jin,
    I am facing the same issue did you solved it?
    Regards,
    Orlando Covault

  • How to load the existing data from the databse in the CMP entity bean?

    hello
    my problem is as follows--
    i am creating a CMP entity bean.in these beans client create the data instances using create() function.
    now a entity bean will be created for the newly created data and it's EJBObject will also be formed.
    now we will be able to perform finder methods over them.
    remember these data has been newly created in the database.
    but now if i want to perform the finder methods on the
    existing data in the database( i don't need to use create() fn as i am not "creating" the data.). how will i perform the query over the existing data.
    basically i have to make a CMP bean to extract the data corresponding to a particular condition , from the database table. i don't want to create the data in the database but just find out what data satisfies my condition.
    thanking you
    Prashant

    you have to use findByXXX methods. depending on your appserver you may have to declare them (and eventually the query you want to be used) in the vendor specific deploiement descriptor.
    (e.g. using jboss i don't remember having explicitly declare the findBySomeField method - where someField is a persistent field - in the dd, whereas with bas all finder methods have to be explicitly declared)
    [note that obviously these methods have to be present in your home interface]

  • Error while using a VIEW with a FILTER - 0x80131904

    Dear Colleagues,
    I've a list and I want to use a view with a filter on a specific field.
    [Attribution] is egal to [Me]
    My Sharepoint 2013 keeps providing this error when I open the view filtered :
    Exception from HRESULT: 0x80131904
    Correlation ID:fc8650d8-5f52-4ceb-b819-0f784ec0318f
    ULS shows the following :
    01/07/2014 17:44:58.41 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://vspar-spfw-01:80/Lists/Conduite%20Changement/Requtes%20Attribues%20%20Moi.aspx) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.42 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.42 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Temps d’exécution=13,5726747393873 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Benjamin RIOU' to data type int. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordead... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High ...lock) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation General xxpm High Unable to execute query: Error 0x80131904 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Temps d’exécution=12,6535635115636 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High Error while executing web part: Microsoft.SharePoint.SPException: Exception from HRESULT: 0x80131904 ---> System.Runtime.InteropServices.COMException (0x80131904): Exception from HRESULT: 0x80131904 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListNa... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High ...me, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) --- End of inner exception stack trace --- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCal... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High ...lback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() at Microsoft.SharePoint.SPListItemCollection.get_Count() at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList) at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal() at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a2 High InnerException 1: System.Runtime.InteropServices.COMException (0x80131904): Exception from HRESULT: 0x80131904 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeAr... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a2 High ...rayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.50 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://vspar-spfw-01:80/Lists/Conduite%20Changement/Requtes%20Attribues%20%20Moi.aspx)). Temps d’exécution=95,5520883240747 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    The filtered field is a list of choices with no multiples values.
    I'm pretty sure the issue is located here :
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Benjamin RIOU' to data type int. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordead... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    What can I do ?
    Thanks
    Best regards  / Ben

    Hi Ben,
    How did you design the filter on the view?
     This error usually occurred when people use SQL T-SQL. Here are two similar posts , please check whether they are useful for you:
    http://social.technet.microsoft.com/Forums/en-US/e1ba76f9-855f-4087-91a7-c3e492e59be4/conversion-failed-when-converting-the-nvarchar-value-xxxxxx-to-data-type-int?forum=transactsql
    http://social.technet.microsoft.com/Forums/en-US/1d0ab5f9-2ea6-4399-abbf-0c23b456e0f4/conversion-failed-when-converting-the-nvarchar-value-bottle-to-data-type-int?forum=transactsql
    Please create a new list, and create a new view, then add a filter on the view, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Error in weblogic.ejbc while deploying the CMP entity bean.!!!

    Tried to deploy the entity bean[CMP] with the following folder structure.
    examples [package]
    Product.class
    productBean.class
    etc.
    META-INF
    ejb-jar.xml
    weblogic-ejb-jar.xml.
    weblogic-cmp-rdbms-jar.xml
    created a jar..with the following command
    1.jar cvf rgegcmp.jar examples META-INF
    tried to create the stubs and skeletons using weblogic.ejbc command.
    2. java weblogic.ejbc rgegcmp.jar rgegcmp1.jar
    C:\btcomprj\BTCOMPRJ\classes>java weblogic.ejbc rgegcmp.jar rgegcmp1.jar
    <Oct 11, 2004 4:29:29 PM IST> <Warning> <EJB> <010054> <EJB Deployment: Product has a
    class examples.ProductBean which is in
    the classpath. This class should only be located in the ejb-jar file.>
    <Oct 11, 2004 4:29:29 PM IST> <Warning> <EJB> <010054> <EJB Deployment: Product has a
    class examples.ProductHome which is in
    the classpath. This class should only be located in the ejb-jar file.>
    <Oct 11, 2004 4:29:29 PM IST> <Warning> <EJB> <010054> <EJB Deployment: Product has a
    class examples.Product which is in the
    classpath. This class should only be located in the ejb-jar file.>
    <Oct 11, 2004 4:29:29 PM IST> <Warning> <EJB> <010054> <EJB Deployment: Product has a
    class examples.ProductLocalHome which i
    s in the classpath. This class should only be located in the ejb-jar file.>
    <Oct 11, 2004 4:29:29 PM IST> <Warning> <EJB> <010054> <EJB Deployment: Product has a
    class examples.ProductLocal which is in
    the classpath. This class should only be located in the ejb-jar file.>
    <Oct 11, 2004 4:29:29 PM IST> <Warning> <EJB> <010054> <EJB Deployment: Product has a
    class examples.ProductPK which is in th
    e classpath. This class should only be located in the ejb-jar file.>
    ERROR: Error from ejbc: null
    java.lang.NullPointerException
    at
    weblogic.ejb20.deployer.CompositeMBeanDescriptor.getPersistenceUseIdentifier(Composite
    MBeanDescriptor.java:1484)
    at weblogic.ejb20.deployer.CMPInfoImpl.<init>(CMPInfoImpl.java:104)
    at
    weblogic.ejb20.deployer.EntityBeanInfoImpl.<init>(EntityBeanInfoImpl.java:135)
    at
    weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:349)
    at
    weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInf
    oImpl.java:438)
    at
    weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:16
    5)
    at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:151)
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:332)
    at weblogic.ejbc20.runBody(ejbc20.java:479)
    at weblogic.utils.compiler.Tool.run(Tool.java:126)
    at weblogic.ejbc.main(ejbc.java:29)
    ERROR: ejbc found errors
    1. want to know why Null pointer exception is thrown by 'weblogic.ejbc'...
    is it indicating an error in my code(bean); .....
    i dont know how to fix the error.
    find the deployments descriptors which i have written for deployment.
    weblogic-ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>Product</ejb-name>
    <jndi-name>rgexample</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
    "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>Product</ejb-name>
    <home>examples.ProductHome</home>
    <remote>examples.Product</remote>
    <local-home>examples.ProductLocalHome</local-home>
    <local>examples.ProductLocal</local>
    <ejb-class>examples.ProductBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>examples.ProductPK</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>ProductBean</abstract-schema-name>
    <cmp-field>
    <field-name>productID</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>description</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>basePrice</field-name>
    </cmp-field>
    <query>
    <query-method>
    <method-name>findByName</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM ProductBean AS a WHERE name =
    ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findByDescription</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM ProductBean AS a WHERE description
    = ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findByBasePrice</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM ProductBean AS a WHERE basePrice =
    ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findExpensiveProducts</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM ProductBean AS a WHERE basePrice >
    ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findCheapProducts</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM ProductBean AS a WHERE basePrice < ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllProducts</method-name>
    <method-params>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM ProductBean AS a WHERE productID
    IS NOT NULL]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>Product</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    weblogic-cmp-rdbms-jar.xml
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>Product</ejb-name>
    <data-source-name>examples-dataSource-demoPool</data-source-name>
    <table-map>
    <table-name>TORDER</table-name>
    <field-map>
    <cmp-field>productID</cmp-field>
    <dbms-column>PRODUCTID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>description</cmp-field>
    <dbms-column>DESCRIPTION</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>basePrice</cmp-field>
    <dbms-column>BASEPRICE</dbms-column>
    </field-map>
    </table-map>
    </weblogic-rdbms-bean>
    <create-default-dbms-tables>True</create-default-dbms-tables>
    </weblogic-rdbms-jar>

    If you can have a look at a cmp example in the samples that ship with the server. My guess is that the weblogic-ejb-jar.xml file is missing the <persistence-use> element which for 810 would look like:
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>7.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    I seem to recall that the elements might be slightly different in structure for the wls700 version of the DTD, so please check that (I cannot, I'm at home and don't have everything here).
    Give that a try and see if it doesn't solve your compilation failure.
    Also, the compilation should not be throwing a null pointer exception in a case like that, I consider that to be a bug.
    -thorick

  • I had a major power out last night while using Lr5 Help with the below please

    I had a major power out last night while using Lr5, we have power back now but when launching Lr5 i get this error and I have rebooted 2 times nows with no results. I have a normal pc, and this is the error message i am getting.......Lightroom encountered an error when reading from its preview cache and quit, so i say ok and still nothing works. i am trying to process my event photos from yesterday and i need to get this fixed urgently!!! please help

    Delete the Preview Cache folder.
    It is in the same main folder as the LR catalog. Usually in your Username folder.
    Once delete LR will rebuild it once LR is opened.

  • Error while using between operator with sql stmts in obiee 11g analytics

    Hi All,
    when I try to use between operator with two select queries in OBIEE 11g analytics, I'm getting the below error:
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <select>: Syntax error [nQSError: 26012] . (HY000)
    can anyone help me out in resolving this issue.

    Hi All,
    Thank u all for ur replies, but I dint the exact solution for what I'm searching for.
    If I use the condition as
    "WHERE "Workforce Budget"."Used Budget Amount" BETWEEN MAX("Workforce Budget"."Total Eligible Salaries") AND MAX("Workforce Budget"."Published Worksheet Budget Amount"",
    all the data will be grouped with the two columns which I'm considering in the condition.
    my actual requirement with this query is to get the required date from a table to generate the report either as daily or weekly or monthly report. If I use repository variables, variables are not getting refreshed until I regenerate the server(which I should not do in my project). Hence I have created a table to hold weekly start and end dates and monthly start and end dates to pass the value to the actual report using between operator.
    please could anyone help me on this, my release date is fast approaching.

  • Error while using Analytic view with BO explorer

    Hi,
    I am trying to create an info space based on my Analytic view which has input parameters. The infospace is validated and indexed without any issue. However when I ran the view, I get an error (50011) as it is unable to fetch any results. I tried using an infospace based on Calculation view with input parameters and the explorer view works without any issue.
    Has anyone faced similar issues?
    We are using HANA SP 6 rev 67 and BI 4.0 SP 4.
    Also is there a way to enable input prompts for the users when they refresh the BO Explorer view? If not currently available is there any work around ?
    Thanks

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • JS error while using input fields with type=file on XP SP2

    Hi all,
    we found a new problem in applications which use input fields with type=file running in a browser on Microsoft Windows XP with SP2.
    A typical test layout might look like:
    <html>
      <head>
        <title>File-Upload</title>
      </head>
      <body>
        <form action="/cgi-bin/upload.pl" method=post
              enctype="multipart/form-data">
          <input type=file size=50 maxlength=100000 name="file"
                 accept="text/*"><br>
          <button onclick="document.forms[0].submit();">Send</button>
        </form>
      </body>
    </html>
    When you add a link without the fully qualified path (for example pic01.jpg instead of c:\pictures\pic01.jpg) and click on the 'Send' button, nothing happens and you get a Javascript error 'Access denied'.
    The solution can be found in the MS Knowledge Base article 892442:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;892442
    We still investigate this issue and will inform you about the further proceeding.
    Regards,
    Rainer

    Hi Yepin Jin,
    I am facing the same issue did you solved it?
    Regards,
    Orlando Covault

  • Error while using AD SSO with keytab

    Hello everyone,
    I've configured a SAP BO Edge 4.1 environment to work with Active Directory authentication with single sign-on. Everything is working fine, except for the keytab part.
    When using the -Dcom.wedgetail.idm.sso.password=XXX option in Apache Tomcat Config Tool, single sign-on is working fine. However, when I create a keytab file, and add a line in global.properties that refers to the keytab (idm.keytab=C:/Windows/xx.keytab), single sign-on doesn't work anymore and users will see the login screen when entering the URL for BI Launchpad. Manual log in is still possible.
    When I analyse the keytab file using kinit, this is the result:
    D:\Applics\Server\SAP_BO\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\
    bin>kinit -k -t test3.keytab [email protected]
    Exception: krb_error 24 Pre-authentication information was invalid (24) Pre-auth
    entication information was invalid
    KrbException: Pre-authentication information was invalid (24)
            at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:66)
            at sun.security.krb5.KrbAsReq.getReply(KrbAsReq.java:446)
            at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:306)
            at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:257)
            at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:107)
    Caused by: KrbException: Identifier doesn't match expected value (906)
            at sun.security.krb5.internal.KDCRep.init(KDCRep.java:133)
            at sun.security.krb5.internal.ASRep.init(ASRep.java:58)
            at sun.security.krb5.internal.ASRep.<init>(ASRep.java:53)
            at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:50)
            ... 4 more
    Keytab was created with Java version 6.1 (which is installed with SAP BO).
    Any ideas what might cause this issue?
    Many thanks in advance.
    Best Regards
    Marc

    Hi Ambarish,
    Thank you for your reply. I've solved the issue now. The password contained special characters like ` and ~. This probably caused the error with the keytab. I've changed the password, generated the keytab file again and now it's working.
    Thanks for helping me!
    Regards
    Marc

  • Execution Error while using a trigger

    Hi all,
    I have written the following trigger.<br><br>
    <b>SQL></b> CREATE OR REPLACE TRIGGER update_publisher_trgr <BR>
    AFTER INSERT OR UPDATE <BR>
    ON tinku.book_publishers <BR>
    FOR EACH ROW <BR>
    BEGIN <BR>
              IF INSERTING THEN <BR>
              INSERT INTO scott.publishers <BR>
              VALUES(:new.p_id,:new.name,:new.token_id,:new.is_reg);<BR>
    <B>ELSIF UPDATING THEN -----(9 th row) </B><BR>
    UPDATE scott.publishers <BR>
              SET is_reg=:new.is_reg <BR>
              WHERE publisher_id=:old.p_id; <BR>
              IF(:new.is_reg==0) THEN <BR>
                   DECLARE <BR>
                   CURSOR book_id_cursor IS <BR>
                        SELECT book_index <BR>
                        FROM books <BR>
                   WHERE publisher_id=:old.p_id; <BR>
    BEGIN <BR>
                   FOR i IN book_id_cursor LOOP <BR>
                        INSERT INTO scott.publisher_details <BR>
                   VALUES (updates_id_seq.NEXTVAL,i.book_index,12); <BR>
                        END LOOP; <BR>
                   COMMIT; <BR>
    END; <BR>
         END IF; <BR>
              END IF; <BR>
         END update_publisher_trgr;     <BR>
    SQL> / <br>
    Warning: Trigger created with compilation errors.<br>
    SQL> show errors; <br>
    Errors for TRIGGER UPDATE_PUBLISHER_TRGR:<br><br>
    LINE/COL ERROR <br>
    -------------- -----------------------------------------------------------------<br>
    9/32 PLS-00103: Encountered the symbol "=" when expecting one of the<br>
    following:<br>
    ( - + all mod null <an identifier><br>
    <a double-quoted delimited-identifier> <a bind variable> any<br>
    avg count current max min prior some sql stddev sum variance<br>
    execute forall time timestamp interval date<br>
    <a string literal with character set specification><br>
    <a number> <a single-quoted SQL string><br>
    <br><br>
    How can I avoid this error.<br>
    <br>
    Please help me in this regard,<br>
    <br>
    Thanks in Advance,<br>
    <br>
    Trinath Somanchi,<br>
    Hyderabad.<br>
    <br>

    hi,
    I have created the procedure in scott schema and the trigger in tinku schema.<br>
    the procedure is created with no errors but trigger is created with compilation errors.
    <br>
    the procedure created in scott schema:<br><br>
    CREATE OR REPLACE PROCEDURE populate_pub_dtls(pPublisherId Number)<br>
    IS <br>
    CURSOR book_id_cursor IS <br>
    SELECT book_index <br>
    FROM books <br>
    WHERE publisher_id=pPublisherId; <br>
    <br>
    next_val NUMBER;<br>
    BEGIN <br>
    FOR i IN book_id_cursor LOOP <br>
    SELECT updates_id_seq.NEXTVAL INTO next_val FROM dual;<br>
    INSERT INTO scott.publisher_details <br>
    VALUES (next_val,i.book_index,12); <br>
    END LOOP; <br>
    COMMIT;<br>
    END; <br>
    <br>
    the Trigger created in Tinku schema is:<br>
    <br>
    CREATE OR REPLACE TRIGGER update_publisher_trgr <br>
    AFTER INSERT OR UPDATE <br>
    ON tinku.book_publishers <br>
    FOR EACH ROW <br>
    BEGIN <br>
    IF INSERTING THEN <br>
    INSERT INTO scott.publishers <br>
    VALUES(:new.p_id,:new.name,:new.token_id,:new.is_reg);<br>
    ELSIF UPDATING THEN<br>
    UPDATE scott.publishers <br>
    SET is_reg=:new.is_reg <br>
    WHERE publisher_id=:old.p_id; <br>
    IF(:new.is_reg=0) THEN <br>
    scott.populate_pub_dtls ( :old.p_id );<br>
    END IF; <br>
    END IF; <br>
    END update_publisher_trgr; <br>
    <br>
    but this trigger on execution is giving the following errors:<br>
    <br>
    LINE/COL ERROR <br>
    -------- -----------------------------------------------------------------<br>
    3/8 PLS-00201: identifier 'PUBLISHERS' must be declared <br>
    3/8 PL/SQL: SQL Statement ignored <br>
    6/6 PLS-00201: identifier 'PUBLISHERS' must be declared <br>
    6/6 PL/SQL: SQL Statement ignored <br>
    10/28 PLS-00201: identifier 'SCOTT.POPULATE_PUB_DTLS ' <br>
    must be declared <br><br>
    10/28 PL/SQL: Statement ignored <br>
    <br>
    but scott.publishers is existing.<br>
    <br>
    how can i get rid of this error.<br>
    <br>
    Please help me in this regard,<br>
    <br>
    Thanks in Advance;<br>
    <br>
    Trinath Somanchi,
    <br>
    Hyderabad.
    <br>

  • ERROR while using SOAP adapter with SMTP protocol

    Hi,
    The error i get is,
    SOAP: error occured: java.io.IOException: server not responding OK to MAIL FROM; 454 5.7.3 Client does not have permission to submit mail to this server.
    Please given your suggestions on the same.......
    Also do provide more information on sending SOAP over SMTP.
    Regards,
    Abhy

    Hi,
    Thanks for your replies...
    The thing is that we tried a receiver mail adapter scenario with SMTP prptocol which is working perfectly fine... Its the same SMTP sever we are using even in this case.
    What could be the network problems that you mentioned, could you throw more light on the same.
    Regards,
    Abhy

  • Error while using MS Word with BI Publisher

    Hi All,
    I am working on XML publisher while opening the fields in the designed RTF it is saying the error like
    "Automation error,Unspecified error".
    Please suggest me on this.
    Thanks,
    Surya

    XP:
    Just rename the file MSComctlLib.exd in 'C:\Documents and Settings\<YOUR USER NAME>\Application Data\Microsoft\forms' to MSComctlLib.exd.bak.
    The file MSComctlLib.exd will be recreated when you start working in BIP add in from word.
    win 7:
    Back up MSComctlLib.exd
    Run command prompt as Admin
    For 64-bit operating systems, type the following:
    Regsvr32 "C:\Windows\SysWOW64\MSCOMCTL.OCX"
    For 32-bit operating systems, type the following:
    Regsvr32 "C:\Windows\System32\MSCOMCTL.OCX"
    Restart.

  • I keep getting "iCloud encountered an error while trying to connect with the server" - ideas?

    I'm on my PC at work and cannot access anything - my calendar, reminders or contacts.  The apple support website doesn't show any outages - any ideas?

    Your Mac must be on Lion (10.7) to run iCloud. Apple had to change the operating system to fully support it. Nevertheless, it is possible to get emails from iCloud without having Lion. Please tell me if this interests you.
    Anyways, here is the link to buy Lion (30 dollars, totally worth the upgrade ): http://itunes.apple.com/be/app/os-x-lion/id444303913?mt=12
    Franklin

Maybe you are looking for

  • Upgrade path from Access 2003/SQL 2003 ADP to cloud, Azure, etc.

    My company uses a massive client database to track all interactions with our clients -- phone log, billing info, authorized users, associates, products and services they subscribe to, etc. -- as well as separate records for leads and clients. There a

  • How to install and run USB device application without NI-VISA environment?

    Hi everyone:       I develop a LabWindows/CVI8.5 application that uses a driver for a USB device created using the NI-VISA 4.6.2. The application is ok when the NI-VISA  environment is installed in PC. But the  NI-VISA 4.6.2 is too big(326M).  Can be

  • Disable HTML generation in Interactive Reporting documents

    I need to disable the generation of HTML that came with bqy documents, i know that is an option in the bqy properties that you can check to enable or disable this, but i already serach in verion 9.0.1 and 9.3 ant dont have any option for this.. <BR><

  • Question about uploading file to Azure Storage

    Can we upload ISO to azure storage and deploy to Azure Virtual Machine?

  • OEPE - OSB project

    After long time, i was able to install successfully Weblogic along with OEPE and OSB along with OEPE IDE, When i start to create Oracle Service Bus Configuration Project , i get the following error. Can any one please help me to resolve this issue. T